Remove api.w.org REST API/JSON API from WordPress header.

Remove api.w.org REST API/JSON API  from WordPress header
WordPress uses the REST API since edition 4.4 of the CMS. It allows developers to interact with the WordPress back-end more quickly, since this API is a standard way to connect. However, this also adds the following header to your Worpress website:

To remove this added header from WordPress website, you need to add following lines of code in functions.php file within wordpress theme’s directory.

To remove the rest_output_link_header

Reference

Leave a Reply

Your email address will not be published. Required fields are marked *