> template_helper->is_valid_tag( $faq_section_title_tag ); echo wp_kses_post( '<' . $section_tag . ' class="' . esc_attr( $faq_heading_class ) . ' betterdocs-faq-section-title">' . esc_html( $faq_heading ) . '' ); ?>
'https://schema.org', '@type' => 'FAQPage', 'mainEntity' => [] ]; $GLOBALS['betterdocs_faq_schema_main_entity'] = $faq_json['mainEntity']; } echo '
'; foreach ( $terms as $term ) { if ( $term->count <= 0 ) { continue; } $faq_icon_url = get_term_meta($term->term_id, 'faq_group_icon', true); echo '
'; echo ( ! empty( $faq_icon_url ) ) ? '' : ''; echo '' . esc_html( $term->name ) . ''; echo '
'; } echo '
'; echo '
'; foreach ( $terms as $term ) { if ( $term->count <= 0 ) { continue; } $faq_icon_url = get_term_meta($term->term_id, 'faq_group_icon', true); echo '
'; echo ( ! empty( $faq_icon_url ) ) ? '' : ''; echo '' . esc_html( $term->name ) . ''; $faq_markup = ' '; $faq_markup .= ' '; echo $faq_markup; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo '
'; // faq list echo ''; } echo '
'; if ( $faq_schema ) { $faq_json['mainEntity'] = $GLOBALS['betterdocs_faq_schema_main_entity']; echo ''; } } ?>