llms_is_rest()
Determine if request is a REST request
Return Return
(bool)
Source Source
File: includes/llms.functions.core.php
*/ function llms_is_rest() { /** * Filters whether the current request is a REST request. * * @since 5.4.0 * * @param $is_rest Whether the current request is a REST request. */ return apply_filters( 'llms_is_rest', ( defined( 'REST_REQUEST' ) && REST_REQUEST ) );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.27.0 | Introduced. |