Filter meta robots

Since SEOPress 2.7.1

function sp_titles_robots($html) {
//you can add here all your conditions as if is_page(), is_category() etc..
	$html = '<meta name="robots" content="noindex"/>';
	return $html;
}
add_filter('seopress_titles_robots', 'sp_titles_robots');

Last modified: April 4, 2018