• Hi!

    Just started using this plugin and it seems to work great, except that the option to hide the Meow Apps menu item doesn’t work. When I check it I get a 404 and a NekoError in the console with code NO-ROUTE. The route in question seems to be GET /wp-json/meow-common/v1/all_settings/. Other REST routes on the site are working.

Viewing 1 replies (of 1 total)
  • Thread Starter traed

    (@traed)

    Did some digging. The issue seems to occur because you’re not running your init method inside a plugins_loaded callback, and then checking if wp_get_current_user exists before setting up your rest routes. wp_get_current_user is never defined before plugins_loaded so the rest routes will never work.

    • This reply was modified 5 years, 1 month ago by traed.
Viewing 1 replies (of 1 total)

The topic ‘Hide from main menu not working’ is closed to new replies.