joli_faq_seo_schema_faq_answer_allowed_tags

Allowed HTML tags to output in the JSON-LD faqpage schema.

Default value are : ‘h1’, ‘h2’, ‘h3’, ‘h4’, ‘h5’, ‘h6’, ‘br’, ‘ol’, ‘ul’, ‘li’, ‘a’, ‘b’, ‘strong’, ‘i’, ’em’.

add_filter('joli_faq_seo_schema_faq_answer_allowed_tags', function ($allowed_tags_arr) {
	//Adds the 'div' the the allowed tags
	$allowed_tags_arr[] = 'div'; 
	return $allowed_tags_arr;
});
Was this page helpful?
Close Menu