WC_Admin_Webhooks::__constructpublicWC 1.0

Initialize the webhooks admin actions.

Method of the class: WC_Admin_Webhooks{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Admin_Webhooks = new WC_Admin_Webhooks();
$WC_Admin_Webhooks->__construct();

WC_Admin_Webhooks::__construct() code WC 9.9.5

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' ) );
}