WC_Legacy_Webhook::get_post_data() public WC 2.2
Deprecated from version 3.2.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.╳
Get the post data for the webhook.
{} It's a method of the class: WC_Legacy_Webhook{}
No Hooks.
Return
null|WP_Post.
Usage
$WC_Legacy_Webhook = new WC_Legacy_Webhook(); $WC_Legacy_Webhook->get_post_data();
Changelog
Since 2.2 | Introduced. | |
Deprecated | 3.2.0 |
Code of WC_Legacy_Webhook::get_post_data() WC Legacy Webhook::get post data WC 5.0.0
public function get_post_data() {
wc_deprecated_function( 'WC_Webhook::get_post_data', '3.2' );
return null;
}