redirection_request_method, $method
redirection_request_method, $method
Appears in: redirection.5.9.0
Hook Type: filter
Displaying hooks found in version: redirection.5.9.0apply_filters('redirection_request_method, $method') is found 1 times:
- /models/request.php line 71
if ( isset( $_SERVER['REQUEST_METHOD'] ) && is_string( $_SERVER['REQUEST_METHOD'] ) ) { $method = sanitize_text_field( $_SERVER['REQUEST_METHOD'] ); } return apply_filters( 'redirection_request_method', $method ); } /** * Get the server name (from $_SERVER['SERVER_NAME]), or use the request name ($_SERVER['HTTP_HOST']) if not present * * @return string