akismet_https_request_pre

akismet_https_request_pre

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('akismet_https_request_pre') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 1425
     
    		if ( ! $ssl_disabled && ( $ssl = wp_http_supports( array( 'ssl' ) ) ) ) {
    			$akismet_url = set_url_scheme( $akismet_url, 'https' );
    
    			do_action( 'akismet_https_request_pre' );
    		}
    
    		$response = wp_remote_post( $akismet_url, $http_args );
    
    		Akismet::log( compact( 'akismet_url', 'http_args', 'response' ) );