Functionality broken when main acf menu item hidden
-
When the main acf plugin menu item is hidden (using
acf/settings/show_admin
hook), this plugin doesn’t load the relevant code, meaning settings can’t be saved properly, and styles aren’t loadedThis seems to be because the
enqueue_xyz
functions are expecting a certain page hook name structure, which doesn’t match what’s there because the menu is hidden, and can be fixed by allowing'admin_page_fontawesome-settings'
along with the other two hook names
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.