You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR No header link found with rel="https://api.w.org/"
at locateAPIRootHeader (node_modules/wpapi/lib/autodiscovery.js:32:8)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
ERROR Autodiscovery failed
at node_modules/wpapi/wpapi.js:465:10
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Can I check that the send_header function is placed in the correct file?
Also, where should I place the plugin.php file for rest-filter plugin? rest-filter plugin
The text was updated successfully, but these errors were encountered:
I was trying to enable the
Auto-Discovery
withvar apiPromise = WPAPI.discover( 'http://my-site.com' );
.I have added the
send_header
function tofunctions.php
under thetheme
folder.However, I got the following errors
Can I check that the
send_header
function is placed in the correct file?Also, where should I place the
plugin.php
file forrest-filter plugin
?rest-filter plugin
The text was updated successfully, but these errors were encountered: