WC_Legacy_Webhook::get_post_data()
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.
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 since | 3.2.0 |
WC_Legacy_Webhook::get_post_data() WC Legacy Webhook::get post data code WC 9.8.2
public function get_post_data() { wc_deprecated_function( 'WC_Webhook::get_post_data', '3.2' ); return null; }