wpseo_add_adminbar_submenu

wpseo_add_adminbar_submenu

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-seo.23.8

do_action('wpseo_add_adminbar_submenu') is found 1 times:

  • /inc/class-wpseo-admin-bar-menu.php line 219
    		 *
    		 * @param WP_Admin_Bar $wp_admin_bar    Admin bar instance to add the menu to.
    		 * @param string       $menu_identifier The menu identifier.
    		 */
    		do_action( 'wpseo_add_adminbar_submenu', $wp_admin_bar, self::MENU_IDENTIFIER );
    
    		if ( ! is_admin() ) {
    
    			if ( is_singular() || is_tag() || is_tax() || is_category() ) {
    				$is_seo_enabled         = $this->get_is_seo_enabled();
    				$is_readability_enabled = $this->get_is_readability_enabled();