wpcf7_akismet_parameters
Использование
add_filter( 'wpcf7_akismet_parameters', 'wp_kama_wpcf7_akismet_parameters_filter' ); /** * Function for `wpcf7_akismet_parameters` filter-hook. * * @param $comment * * @return */ function wp_kama_wpcf7_akismet_parameters_filter( $comment ){ // filter... return $comment; }
- $comment
- -
Где вызывается хук
wpcf7_akismet_parameters
contact-form-7/modules/akismet/akismet.php 77
$comment = apply_filters( 'wpcf7_akismet_parameters', $comment );