wpcf7_captcha_url
Использование
add_filter( 'wpcf7_captcha_url', 'wp_kama_wpcf7_captcha_url_filter' );
/**
* Function for `wpcf7_captcha_url` filter-hook.
*
* @param $sanitize_url
*
* @return
*/
function wp_kama_wpcf7_captcha_url_filter( $sanitize_url ){
// filter...
return $sanitize_url;
}
- $sanitize_url
- -
Где вызывается хук
wpcf7_captcha_url
contact-form-7/modules/really-simple-captcha.php 408
return apply_filters( 'wpcf7_captcha_url', sanitize_url( $url ) );