Answers for "owordpress menu code"

4

wp_nav_menu

wp_nav_menu( array(
    'menu' => 'TEST',
    'menu_class' => "", 
    'menu_id'   => "",
    'container' => false
) );
Posted by: Guest on November-14-2020
0

how to access the name of menu in worpress

$menu = wp_get_nav_menu_object("my mainmenu" );
Posted by: Guest on October-17-2020

Browse Popular Code Answers by Language