Well, as it usually goes, after banging my head on this for hours yesterday and then finally deciding to ask for help, I was able to solve it within a few minutes. Here is what I needed to change:
public function init() {
// add_action('admin_menu', array($this, 'add_plugin_admin_menu'));
$this-> add_plugin_admin_menu();
}
Clearly, I have much to learn about the call chain in WP.
Related Posts:
- Passing arguments to a admin menu page callback?
- How to debug a plugin with Xdebug?
- Admin settings update updating every time home page is hit?
- What’s the best method for emptying an option created with the Settings API?
- Get list of scripts / styles and show file which enqueued them
- What is the recommended way to create plugin administration forms?
- How to add a new plugin page under desired Options page?
- Is it possible to add an admin page using add_submenu_page() and pass a var in the query string?
- How to get vim to autocomplete WordPress API functions?
- Overwriting Core WordPress Functions with Plugins
- Naming Admin Menus and Submenus
- Current class on admin menu using add_submenu_page()
- Add Admin Menu Inside Construct or Init
- Adding callback function for wp_ajax_ has no effect
- How to debug WordPress correctly?
- Hook event for upload image in the menu
- Menu Error in Admin Console with Custom Plugin: You do not have sufficient permissions to access this page
- add_menu_page() with function inside a class [duplicate]
- How to add Font Awesome 5 icons in WP Admin dashboard menu?
- How to put placeholder text in the main post input area?
- Unified Approach for Placing Option Pages
- Plugin with specific admin menu icon
- Find source of notice / warning / errors efficiently
- OOP Plugin and Menu – Call to undefined function register_setting()
- How to debug a unit test for a WordPress plugin, which uses wordpress-test?
- Global State During an Admin Post
- Howto: Use Custom Post Types as Submenu Items in Admin
- Sub Menu content is being duplicated
- Set different custom menu items for different user roles
- Show/Hide ‘add new user’ custom fields in wordpress admin panel by click another field
- Bootstrap doesn’t work on admin menu page-How to override wp-admin style?
- is it recommended to use WP_List_Table?
- Plugin sub-menu pages recommended structure and links
- Creating Admin Plugin – Content of a page is displayed at global scope as well
- Add a page in admin without adding menu item
- Silently register plugin pages
- WordPress debug messages not displaying
- WordPress theme options Menu
- Print Dashboard submenu name and filename
- I am trying to make a page in the admin section similar to the appearance of the Profile page for users
- Getting a WordPress Debug Strategy
- Disable Auto-Expanding Menu in WordPress Admin Menus
- in_array function Problem
- How do I debug an error that a plugin is causing?
- Use options to control jQuery plugin
- Restrict certain actions to plugin-specific admin menu pages only
- Proper way to create an administration page without adding it to the menu
- Pause plugin option page until all data manipulation is complete
- How to add text editor in plugin menu?
- How to make an admin plugin menu page go full screen?
- How do I specify where to save the debug.log?
- Problem in plugin debuging in wordpress
- How to add admin.php to WP Admin Menu Link
- Convert each new line in the textfield as a new value in an array
- How put the correct URL to sub-menu plugin?
- Developing a plugin where users can edit entries saved in database
- Add a description/hint field in the admin page of a plugin
- Forcing ALL plugin Admin menus into a separate menu
- Link to a admin submenu item using a custom link
- Plugin admin list pages as submenu
- Change Admin menu placement using hooks
- Menu_slug used for creating options page
- How to design WooCommerce-like admin tabs for plugin settings page?
- Show Admin Menu
- How to include jQuery and JavaScript files correctly?
- How do I log plugin (cron) actions?
- Adding pre-publish checks with Gutenberg
- How to add SQL file with PHP to WordPress database [closed]
- array_map() for sanitizing $_POST
- Is there a faster way than wp_insert_post to add content to a blog
- How to include external library in wordpress plugin
- Delete a specific item menu when I deactivate my plugin
- Platform/Website that Supports Crowd-Funded WordPress Projects? [closed]
- Get user id for delete and update selected user
- Decrease RSS cache time in plugin?
- Add version query tag to all images
- Creating table with plugin is not working
- How to delete an user including data from custom database tables
- Add custom element ID depending where the widget place is, sidebar or footer
- My plugin class doesn’t work! [closed]
- add_action not calling back to function
- Woocommerce checkout update totals with datepicker
- rewrite URL based on selected taxonomy for post page
- Woocommerce – Convert Delivery method into a custom field
- Possible to get all posts with my shortcode?
- Add information to HTTP Header in WordPress Plugin
- Catching Gutenberg sidebar switch event
- Can we use a library under MIT license in a WooCommerce plugin?
- Why does comments_open() return false when publishing a scheduled post?
- Including template in shortcodes
- WordPress plugin development theme issue
- Securing custom rest API endpoints with public access from PWA
- By adding “?login – failed” code unable to access my dashboard
- How to prevent users from deleting their accounts?
- Is it possible to restore an expired transient?
- How to Maintain url on form submit
- Experts opinions needed: How (in)secure is this approach?
- how can I insert a link on login page
- AI Code For OpenAI
- What’s wrong in the WordPress Meta Box Generator code?