akismet_http_request_pre

akismet_http_request_pre

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('akismet_http_request_pre') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 1502
    1498
    1499
    1500
    1501
    1502
    1503
    1504
    1505
    1506
    1507
    1508
        $ssl_failed = true;
     
        do_action( 'akismet_https_request_failure', $response );
     
        do_action( 'akismet_http_request_pre' );
     
        // Try the request again without SSL.
        $response = wp_remote_post( $http_akismet_url, $http_args );
     
        self::log( compact( 'http_akismet_url', 'http_args', 'response' ) );
    }