Get current primary menu wordpress using CE WP-Menu per Page

Posted: December 12, 2015 in web
$meta = get_post_meta( get_the_ID() );
print_r($meta['ce-wp-menu-per-page'][0]);

Output is the value of primary menu using that plugin.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s