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