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 to Montana Flynn Cancel reply

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

%d bloggers like this: