When form submission is done using admin_post in front end, then in action page header shows WordPress default header bar. How to avoid this header bar


As per my understanding, you want to remove WP admin bar so here you can add add_filter('show_admin_bar', '__return_false); in functions.php file.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.