Change Search Engines Blocked text in WordPress

Changes “Search Engines Blocked” to some other text, in this case “Privacy Mode Enabled.” Just put this in your function.php file.

<?php
	add_filter('privacy_on_link_text', 'change_privacy_text');
	function change_privacy_text() {
		_e('Privacy Mode Enabled');
	};
?>

Can also add a filter to privacy_on_link_title to change the title attribute.

One thought on “Change Search Engines Blocked text in WordPress

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>