wpcf7_verify_nonce
Использование
add_filter( 'wpcf7_verify_nonce', 'wp_kama_wpcf7_verify_nonce_filter', 10, 2 );
/**
* Function for `wpcf7_verify_nonce` filter-hook.
*
* @param $is_active
* @param $that
*
* @return
*/
function wp_kama_wpcf7_verify_nonce_filter( $is_active, $that ){
// filter...
return $is_active;
}
- $is_active
- -
- $that
- -
Где вызывается хук
wpcf7_verify_nonce
contact-form-7/includes/contact-form.php 1209
return (bool) apply_filters( 'wpcf7_verify_nonce', $is_active, $this );