WC_Admin_Webhooks::__construct()publicWC 1.0

Initialize the webhooks admin actions.

{} It's a method of the class: WC_Admin_Webhooks{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Admin_Webhooks::__construct() WC 6.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' ) );
}