WC_Admin_Webhooks::__construct()
Initialize the webhooks admin actions.
Method of the class: WC_Admin_Webhooks{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Admin_Webhooks = new WC_Admin_Webhooks(); $WC_Admin_Webhooks->__construct();
WC_Admin_Webhooks::__construct() WC Admin Webhooks:: construct code WC 8.7.0
public function __construct() { add_action( 'admin_init', array( $this, 'actions' ) ); add_action( 'woocommerce_settings_page_init', array( $this, 'screen_option' ) ); add_filter( 'woocommerce_save_settings_advanced_webhooks', array( $this, 'allow_save_settings' ) ); }