jetpack_recaptcha_valid_hostnames, array( $url[host]

jetpack_recaptcha_valid_hostnames, array( $url[host]

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_recaptcha_valid_hostnames, array( $url[host]') is found 1 times:

  • /modules/sharedaddy/recaptcha.php line 160
    			 * @since 9.1.0
    			 *
    			 * @param array [ $url['host'] ] List of the valid hostnames to check against.
    			 */
    			$valid_hostnames = apply_filters( 'jetpack_recaptcha_valid_hostnames', array( $url['host'] ) );
    
    			if ( ! in_array( $resp_decoded['hostname'], $valid_hostnames, true ) ) {
    				return new WP_Error( 'unexpected-host', $this->error_codes['unexpected-hostname'] );
    			}
    		}