Admin::__construct()
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
Source
core/common/modules/connect/admin.php
public function __construct() { self::$url = admin_url( 'admin.php?page=' . self::PAGE_ID ); add_action( 'admin_menu', [ $this, 'register_admin_menu' ], 206 ); add_action( 'admin_head', [ $this, 'hide_menu_item' ] ); add_action( 'load-elementor_page_' . self::PAGE_ID, [ $this, 'on_load_page' ] ); }
Used By
- core/common/modules/connect/module.php: Module::init()