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

#7189
SyedTech
Guest

Hi,

Thank you very much. Works great.

I have removed schema.org micro data using add_filter( ‘frontier_schema’, ‘__return_empty_string’ ) and worded as expected. Then added a filter add_filter( ‘frontier_schema’, ‘st_frontier_get_schema’ ) for custom micro data by adding a function in my custom.php file. This function
function st_frontier_get_schema( $name ){
// some code here
}
is called properly but $name parameter does not work so I am unable to track micro data entities.

Best regards