Skip to content

Function

Determine if the current request is a GET request.

tml_is_get_request( )

Return

bool

Source

function tml_is_get_request() {
    return 'GET' === strtoupper( $_SERVER['REQUEST_METHOD'] );
}

Uses

Changelog

VersionDescription
7.0 Introduced.