![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/corals-api/public/wp/wp-content/plugins/betterdocs/views/layouts/ |
<?php $faq_terms = get_terms( betterdocs()->query->faq_terms_query_args() ); if ( $enable && $have_posts && ! empty( $faq_terms ) ) { $enable_faq_schema = betterdocs()->settings->get( 'enable_faq_schema' ); $shortcode_attr['faq_schema'] = $enable_faq_schema; $attributes = betterdocs()->template_helper->get_html_attributes( $shortcode_attr ); if ( $layout === 'layout-1' ) { echo do_shortcode( '[betterdocs_faq_list_modern ' . $attributes . ']' ); } else if ( $layout === 'layout-2' ) { echo do_shortcode( '[betterdocs_faq_list_classic ' . $attributes . ']' ); } }