WC_Admin::disable_webhook_post_export
Disable WXR export of scheduled action posts.
Method of the class: WC_Admin{}
No Hooks.
Returns
Array.
Usage
$WC_Admin = new WC_Admin(); $WC_Admin->disable_webhook_post_export( $args );
- $args(array) (required)
- Scheduled action post type registration args.
Changelog
| Since 3.6.2 | Introduced. |
WC_Admin::disable_webhook_post_export() WC Admin::disable webhook post export code WC 10.4.3
public function disable_webhook_post_export( $args ) {
$args['can_export'] = false;
return $args;
}