ap_is_profile_menu( object $menu )

Description #

Check if object is profile menu item.

Parameters #

  • $menu
    object (Required) Menu Object.

Source #

File: includes/functions.php

function ap_is_profile_menu( $menu ) {
	return in_array( 'anspress-page-profile', $menu->classes, true );
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment