- This topic has 19 replies, 2 voices, and was last updated 8 years, 10 months ago by .
- You must be logged in to reply to this topic.
Home › Forums › BulletProof Security Pro › WordPress 4.4 brought more bad news
[code copied and deleted]
Your functions.php file had code stripped out of it when you posted it so email the functions.php file to: info at ait-pro dot com instead so I can look at it.
Thank you for your help!!! As usually users can count on you!
Very welcome. 🙂 I like knowing all of this stuff in general so it is good to have it documented here in this Topic in case I want to use some of this code myself. 😉
Maybe this will help someone:
remove_action( 'wp_head', 'rest_output_link_wp_head', 10 ); remove_action( 'wp_head', 'wp_oembed_add_discovery_links', 10 );
The above lines of code provided by my theme developer in theme functions.php with the lines provided by AITpro allowed to completely remove the rest api from the header.
Proudly powered by WordPress, BuddyPress and bbPress.