Astra_Ext_Advanced_Hooks_Meta::__construct()

Constructor


Description


Source

File: addons/advanced-hooks/classes/class-astra-ext-advanced-hooks-meta.php

		public function __construct() {

			add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
			add_action( 'admin_head', array( $this, 'menu_highlight' ) );
			add_action( 'admin_body_class', array( $this, 'admin_body_class' ) );
			add_action( 'load-post.php', array( $this, 'init_metabox' ) );
			add_action( 'load-post-new.php', array( $this, 'init_metabox' ) );
			add_filter( 'astra_location_rule_post_types', array( $this, 'location_rule_post_types' ) );
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.