Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3367309
API REST
Closed

Comments

  • reanusbig started the conversation

    Hi,
    I use child theme and for GDPR reasons I want to eliminate this code from the header:

    <link rel="https://api.w.org/" href="https://www.pozzuolireport.it/wp-json/">
    

    Now I deleted in the child theme's function.php file using this code:

    // Remove Head API
    remove_action('wp_head', 'rest_output_link_wp_head');
    remove_action('wp_head', 'wp_oembed_add_discovery_links');

    My question is:
    Can I remove Wordpress REST API or is it important for Soledad theme, demos and child themes?

  •  2,610
    PenciDesign replied

    Hi,

    You can remove the API Rest of WordPress without any risk. Soledad theme doesn't using any function of this feature.

    Regards,
    PenciDesign.


  • reanusbig replied

    Thanks!