We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Allow HTTP requests to be made.
/** * Allow HTTP requests to be made. * * @param bool $allow * @param array $args * @param string $url * @return bool The filtered value. */ function my_tests_allow_http_request_callback( bool $allow, array $args, string $url ) { // Your code here. return $allow; } add_filter( 'tests_allow_http_request', 'my_tests_allow_http_request_callback', 10, 3 );
bool
$allow
array
$args
string
$url
apply_filters( 'tests_allow_http_request', false, $args, $url )
← All Hooks