register full screen page in WordPress
Question
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' );
wp_print_head_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.
0
2 months
0 Answers
7 views
0
Leave an answer
You must login or register to add a new answer .