How to get a slug name for a page without creating an admin page menu
问题 I now use the add_submenu_page() function, but I don't want the edit page to appear in the admin menu. I want to access the edit page from a list (another page) directly. But I need the slug as a hook_suffix. I have in my-edit.php /* Set up the administration functionality. */ add_action( 'admin_menu', 'my_edit_setup' ); function my_edit_setup() { ... /* Add Edit Actionlist page. */ $myplugin->my_edit = add_submenu_page( 'myplugin', esc_attr__( 'Edit', 'myplugin' ), esc_attr__( 'Edit',