wpcf7_posted_data_(type) хук-фильтр . CF7 1.0
Использование
add_filter( 'wpcf7_posted_data_(type)', 'filter_function_name_3354', 10, 3 ); function filter_function_name_3354( $value, $value_orig, $tag ){ // filter... return $value; }
- $value
- -
- $value_orig
- -
- $tag
- -
Где вызывается хук
wpcf7_posted_data_(type)
contact-form-7/includes/submission.php 274-275
$value = apply_filters( "wpcf7_posted_data_{$type}", $value, $value_orig, $tag );