Skip to content
wpjoli
  • Blog
  • Plugins
    • Joli FAQ SEO
    • Joli Table Of Contents
    • Joli CLEAR Lightbox
  • Support
    • Documentation
Search this website
  • Blog
  • Plugins
    • Joli FAQ SEO
    • Joli Table Of Contents
    • Joli CLEAR Lightbox
  • Support
    • Documentation

joli_faq_seo_schema_faq_answer_allowed_tags

  1. Home>
  2. Documentation>
  3. Joli FAQ SEO>
  4. Developer hooks>
  5. Filters
  • Getting started
  • FAQ Editor [8]
    • Overview
    • How to Create a FAQ Group
    • How to create a FAQ
    • How to edit a FAQ
    • How to remove a FAQ from a FAQ Group
    • How to delete a FAQ
    • Drag’n’drop
    • How to change a FAQ Group category ?
  • Shortcodes [1]
    • [joli-faq-seo] shortcode
  • Developer hooks [22]
    • Filters [13]
      • joli_faq_seo_schema_faq_answer_allowed_tags
      • joli_faq_seo_shortcode_tag
      • joli_faq_seo_faqs
      • joli_faq_seo_front_options
      • joli_faq_seo_faq_group
      • joli_faq_seo_group_classes
      • joli_faq_seo_toggle_html
      • joli_faq_seo_schema
      • joli_faq_seo_faq_question
      • joli_faq_seo_faq_answer
      • joli_faq_seo_faq_group_name
      • joli_faq_seo_copy_link_label
      • joli_faq_seo_faq_id
    • Actions [7]
      • joli_faq_seo_before_faq
      • joli_faq_seo_before_question
      • joli_faq_seo_before_question_inner
      • joli_faq_seo_after_question_inner
      • joli_faq_seo_after_question
      • joli_faq_seo_before_answer_inner
      • joli_faq_seo_after_answer_inner
  • Home
  • /
  • Documentation
  • /
  • Joli FAQ SEO
  • /
  • Developer hooks
  • /
  • Filters

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;
});
Last modified October 26, 2021

Doc navigation

joli_faq_seo_shortcode_tag >
Was this page helpful?
Yes No
  • Blog
  • Support
  • Terms and Conditions
  • Privacy Policy
Copyright 2023 - WPJoli