Astra_Menu::initialize_hooks()
Init Hooks.
Description
Return
(void)
Source
File: admin/includes/class-astra-menu.php
public function initialize_hooks() { self::$page_title = apply_filters( 'astra_page_title', __( 'Astra', 'astra' ) ); self::$plugin_slug = self::get_theme_page_slug(); add_action( 'admin_menu', array( $this, 'setup_menu' ) ); add_action( 'admin_init', array( $this, 'settings_admin_scripts' ) ); add_action( 'after_setup_theme', array( $this, 'init_admin_settings' ), 99 ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |