WordPress at Your Fingertips
function is not described

WC_Admin::disable_webhook_post_export() public WC 3.6.2

Disable WXR export of scheduled action posts.

{} It's a method of the class: WC_Admin{}

No Hooks.

Return

Array.

Usage

$WC_Admin = new WC_Admin();
$WC_Admin->disable_webhook_post_export( $args );
$args(array) (required)
Scehduled action post type registration args.

Changelog

Since 3.6.2 Introduced.

Code of WC_Admin::disable_webhook_post_export() WC 5.9.0

public function disable_webhook_post_export( $args ) {
	$args['can_export'] = false;
	return $args;
}