Fix: Update admin menu registration to use correct class method

This commit is contained in:
Marcus Quinn
2025-03-24 18:11:02 +00:00
parent 46696eff87
commit 4bbcbe3d12

View File

@ -105,6 +105,11 @@ class WP_Allstars_Admin_Manager {
/**
* Register the admin menu item
*
* Adds the WP ALLSTARS menu item under the Settings menu
* in the WordPress admin dashboard.
*
* @return void
*/
public static function register_admin_menu() {
add_options_page(
@ -112,7 +117,7 @@ class WP_Allstars_Admin_Manager {
'WP ALLSTARS',
'manage_options',
'wp-allstars',
'wp_allstars_settings_page'
array(__CLASS__, 'render_settings_page')
);
}