redirection_request_method
redirection_request_method
Appears in: redirection.4.9, redirection.4.9.1, redirection.4.9.2, redirection.5.0, redirection.5.0.1, redirection.5.1, redirection.5.1.1, redirection.5.1.2, redirection.5.1.3, redirection.5.2.3, redirection.5.3.0, redirection.5.3.10, redirection.5.3.2, redirection.5.3.3, redirection.5.3.4, redirection.5.3.5, redirection.5.3.6, redirection.5.3.9, redirection.5.4.1, redirection.5.4.2, redirection.5.5.0, redirection.5.5.1
Hook Type: filter
Displaying hooks found in version: redirection.5.5.1apply_filters('redirection_request_method') is found 1 times:
- /models/request.php line 68
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