Skip to content

Function

Determine if the current request is a POST request.

tml_is_post_request( )

Return

bool

Source

function tml_is_post_request() {
    return 'POST' === strtoupper( $_SERVER['REQUEST_METHOD'] );
}

Uses

Used by

Changelog

VersionDescription
7.0 Introduced.