https_ssl_verify

https_ssl_verify

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('https_ssl_verify') is found 3 times:

  • /wp-includes/class-wp-http-curl.php line 125
    			/** This filter is documented in wp-includes/class-wp-http-streams.php */
    			$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
    		} elseif ( ! $is_local ) {
    			/** This filter is documented in wp-includes/class-wp-http.php */
    			$ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify, $url );
    		}
    
    		/*
    		 * CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT expect integers. Have to use ceil since.
    		 * a value of 0 will allow an unlimited timeout.
    		 */
    
  • /wp-includes/class-wp-http-streams.php line 116
    			 */
    			$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
    		} elseif ( ! $is_local ) {
    			/** This filter is documented in wp-includes/class-wp-http.php */
    			$ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify, $url );
    		}
    
    		$proxy = new WP_HTTP_Proxy();
    
    		$context = stream_context_create(
    			array(
    
  • /wp-includes/class-wp-http.php line 378
    		 * @param bool|string $ssl_verify Boolean to control whether to verify the SSL connection
    		 *                                or path to an SSL certificate.
    		 * @param string      $url        The request URL.
    		 */
    		$options['verify'] = apply_filters( 'https_ssl_verify', $options['verify'], $url );
    
    		// Check for proxies.
    		$proxy = new WP_HTTP_Proxy();
    		if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) {
    			$options['proxy'] = new WpOrg\Requests\Proxy\Http( $proxy->host() . ':' . $proxy->port() );
    
    

See this hook used in plugins: