diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/class-giglogadmin-plugin.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/class-giglogadmin-plugin.php b/includes/class-giglogadmin-plugin.php index ff56d77..96f3c5f 100644 --- a/includes/class-giglogadmin-plugin.php +++ b/includes/class-giglogadmin-plugin.php @@ -58,7 +58,7 @@ if ( ! class_exists( 'GiglogAdmin_Plugin' ) ) { * * @return void */ - private static function add_admin_pages(): void { + public static function add_admin_pages(): void { if ( ! current_user_can( 'manage_options' ) ) { return; } @@ -97,7 +97,7 @@ if ( ! class_exists( 'GiglogAdmin_Plugin' ) ) { /** * Adds the "help" pages in the WordPress admin menu. */ - private static function add_help_pages(): void { + public static function add_help_pages(): void { if ( ! current_user_can( 'manage_options' ) ) { return; } @@ -155,4 +155,3 @@ if ( ! class_exists( 'GiglogAdmin_Plugin' ) ) { GiglogAdmin_Plugin::init(); } - |