Reply To: How to remove/alter schema.org micro data?

#7188
Ron
Keymaster

To remove all schema.org markup use this:

add_filter( 'frontier_schema', '__return_empty_string' );

To customize what markup will be used try something like this:

add_filter( 'frontier_schema', 'new_markup' );

function new_markup() {
	return 'Test';
}

This is just a sample. You can copy and modify the code inside frontier_get_schema() to use as your new_markup() function.