php - How can I remove unit tag from URL in contact form 7 plugin -


i had added contact form 7 in project facing problem, problem #wpcf7-f182-o1 coming url when click on contact form 7 send button...what , how can remove problem ? please help...thanks in advance.

add below code functions.php , remove it.

add_filter('wpcf7_form_action_url', 'remove_unit_tag');  function remove_unit_tag($url){     $remove_unit_tag = explode('#',$url);     $new_url = $remove_unit_tag[0];     return $new_url; } 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -