Skip to content

Instantly share code, notes, and snippets.

@nocean
Created April 15, 2015 09:27

Revisions

  1. nocean created this gist Apr 15, 2015.
    5 changes: 5 additions & 0 deletions cf7-honeypot-override-filter
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    function my_honeypot_override( $html, $args ) {
    // [DO STUFF HERE]
    return $html;
    }
    add_filter('wpcf7_honeypot_html_output', 'my_honeypot_override', 10, 2 );