register_nav_menus syntax error, unexpected identifier "register_nav_menus" in

Question

Hi i was following a video and i keep getting errors even when using the wordpress devleopers docs

here is my code

    register_nav_menus(
    array(
      'top-menu' => 'Top Menu Location' ,
      'mobile-menu' => 'Mobile Menu Location' 
     )
   );

Thank you for taking the time to look and help!

0
Ryfizzle 1 month 2022-10-23T02:32:17-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse