custom form hook and filter
-
hi,
i am using this for a custom form inside WordPress. Do i put this code in the form tags or, in functions.php?
$is_valid = apply_filters(‘google_invre_is_valid_request_filter’, true); if( ! $is_valid ) { // handle error here } else { // continue with your logic }
Thanks!
- The topic ‘custom form hook and filter’ is closed to new replies.