register full screen page in WordPress


i want to register full screen page in wordpress

when i use add_menu_page function it’s show wp nav bar and menu

is i should hide wp menu using css?

when i search in woocommerce setup wizard code (it’s is full screen) i see it’s register hidden page and add action to admin_init and check if current page is the hidden page and print it’s wizard html and exit

Is this a good practice?

because it’s give me some errors because when i call:

do_action( 'admin_enqueue_scripts' );
do_action( 'admin_print_styles' );
do_action( 'admin_head' );

elementor and some plugins have php error but wordpress hide this errors

sorry for bad english.

Ali Saki 2 months 0 Answers 7 views 0

Leave an answer