diff --git a/src/Pages/PluginMainPage.php b/src/Pages/PluginMainPage.php index 624ffc1..5145d7c 100644 --- a/src/Pages/PluginMainPage.php +++ b/src/Pages/PluginMainPage.php @@ -119,7 +119,7 @@ private function apply_current_menu_classes() { } return $parent_file; - } ); + }, PHP_INT_MAX ); add_filter( 'submenu_file', function ( $submenu_file ) { $screen = get_current_screen();