[wp-trac] [WordPress Trac] #42061: Add new utility function for checking if the current request is a REST API request.
WordPress Trac
noreply at wordpress.org
Wed Oct 2 06:05:48 UTC 2024
#42061: Add new utility function for checking if the current request is a REST API
request.
-------------------------------------------------+-------------------------
Reporter: lots.0.logs | Owner:
| TimothyBlynJacobs
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.5
Component: Bootstrap/Load | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback commit has- | Focuses: rest-api,
unit-tests add-to-field-guide | performance
-------------------------------------------------+-------------------------
Comment (by fodisery):
the documentation of this two functions should give an example use case.
its very confusing. even for all top llm i tested for.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42061#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list