403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/betterdocs/views/shortcode-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/betterdocs/views/shortcode-parts/faq-list.php
<?php

$faqs = betterdocs()->query->get_faq_by_term( $term->term_id );

if ( $faqs->have_posts() ) {
    echo '<ul class="betterdocs-faq-list">';

    $faq_markup = '';
    while ( $faqs->have_posts() ): $faqs->the_post();
        echo '<li>';
        echo '<div class="betterdocs-faq-group">';
        $view_object->get( 'shortcode-parts/faq-title' );
        $view_object->get( 'shortcode-parts/faq-content' );
        echo '</div>';
        echo '</li>';

        if ( $faq_schema ) {
            $faq_json = [
                '@type'          => 'Question',
                'name'           => get_the_title(),
                'acceptedAnswer' => [
                    '@type' => 'Answer',
                    'text'  => get_the_content()
                ]
            ];
            $GLOBALS['betterdocs_faq_schema_main_entity'][] = $faq_json;
        }
    endwhile;
    wp_reset_postdata();
    wp_reset_query();
    echo $faq_markup;
    echo '</ul>';
} else {
    echo '<p>' . __( 'Sorry, no FAQ matched your criteria.', 'betterdocs' ) . '</p>';
}

Youez - 2016 - github.com/yon3zu
LinuXploit