This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//SOME BASIC WORDPRESS SECRUITY | |
// add this to your functions.php | |
add_filter('xmlrpc_enabled', '__return_false'); | |
remove_action('wp_head', 'rsd_link'); //removes EditURI/RSD (Really Simple Discovery) link. | |
remove_action('wp_head', 'wlwmanifest_link'); //removes wlwmanifest (Windows Live Writer) link. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* CONTACT FORM 7 */ | |
// This code enables to disable contact form 7 from loading on every page except the contact page | |
// This form also disables the Google recaptcha from loading on every page | |
// add the following in your functions.php |
NewerOlder