WC_Legacy_Webhook::get_post_datapublicWC 2.2

Deprecated since 3.2.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Get the post data for the webhook.

Method of the class: WC_Legacy_Webhook{}

No Hooks.

Returns

null|WP_Post.

Usage

$WC_Legacy_Webhook = new WC_Legacy_Webhook();
$WC_Legacy_Webhook->get_post_data();

Changelog

Since 2.2 Introduced.
Deprecated since 3.2.0

WC_Legacy_Webhook::get_post_data() code WC 10.6.2

public function get_post_data() {
	wc_deprecated_function( 'WC_Webhook::get_post_data', '3.2' );

	return null;
}