wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_jsonp_enabled › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( 'rest_jsonp_enabled', true )
Parametry:
  • () jsonp_enabled Whether JSONP is enabled. Default true.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether JSONP is enabled for the REST API.





Źródło

$jsonp_enabled = apply_filters( 'rest_jsonp_enabled', true );