taxonomy ) ? $term->taxonomy : 'betterdocs_faq_category'; $faqs = betterdocs()->query->get_faq_by_term( $term->term_id, $faq_taxonomy ); if ( $faqs->have_posts() ) { echo '
' . esc_html__( 'Sorry, no FAQ matched your criteria.', 'betterdocs' ) . '
'; }