plugins – Why is the y menu page not being displayed?

Hi i have created a custom plugin and i want to add a menu page but is not being displayed. I followed the documentation but it is not working.


public function register_menu()
        $this->public_screen_hook_suffix = add_menu_page(
            __('CSV Post Importer', 'training-csv-importer'),
            __('CSV Post Importer', 'training-csv-importer'),
            [$this, 'display_options_page'],

Leave a Comment