Automattic\WooCommerce\Internal\Admin
WcPaySubscriptionsPage::__construct()
Hook into WooCommerce.
{} Это метод класса: WcPaySubscriptionsPage{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$WcPaySubscriptionsPage = new WcPaySubscriptionsPage(); $WcPaySubscriptionsPage->__construct();
Код WcPaySubscriptionsPage::__construct() WcPaySubscriptionsPage:: construct WC 6.6.1
public function __construct() { add_action( 'admin_menu', array( $this, 'register_subscriptions_page' ) ); add_action( 'current_screen', array( $this, 'record_user_page_view' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); // Priority 50 to run after Automattic\WooCommerce\Internal\Admin\Homescreen::update_link_structure() which runs on 20. add_action( 'admin_menu', array( $this, 'restructure_menu_order' ), 50 ); }