WC_Admin_Webhooks::__construct()
Initialize the webhooks admin actions.
Метод класса: WC_Admin_Webhooks{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Admin_Webhooks = new WC_Admin_Webhooks(); $WC_Admin_Webhooks->__construct();
Код WC_Admin_Webhooks::__construct() WC Admin Webhooks:: construct WC 9.8.1
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' ) ); }