Automattic\WooCommerce\Internal\StockNotifications\Admin
MenusController::__construct
Constructor.
Метод класса: MenusController{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$MenusController = new MenusController(); $MenusController->__construct();
Код MenusController::__construct() MenusController:: construct WC 11.2.2
public function __construct() {
add_action( 'admin_menu', array( $this, 'add_menu' ), 10 );
add_filter( 'woocommerce_screen_ids', array( $this, 'add_screen_ids' ) );
add_filter( 'set-screen-option', array( $this, 'set_screen_option' ), 10, 3 );
}