llms_is_rest()

Determine if request is a REST request


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/llms.functions.core.php

function llms_is_rest() {
	return ( defined( 'REST_REQUEST' ) && REST_REQUEST );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.27.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.