If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28674

    I have found a usefull filter for the plugin contact-form-7. The filter helps to add the last visited page before the contact page. Is it possible, to add this filter to the regular enfold contact form? And how to do?

    The code:

    function getRefererPage( $form_tag ) {

    if ( $form_tag == 'referenzseite' ) {

    $form_tag[] = $_SERVER;


    return $form_tag;


    if ( !is_admin() ) {

    add_filter( 'wpcf7_form_tag', 'getRefererPage' );




    I think that its a little more than the default support covers, if it worked with cf7, why not use it?



Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘filter for contact form’ is closed to new replies.