HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //var/softaculous/sitepad/editor/site-data/plugins/documentor/templates/single/content-articles.php
<?php
/**
 * Single docs content articles template
 *
 * This template can be overridden by copying it to yourtheme/documentor/single/content-articles.php.
 *
 * @author  softaculous
 * @package documentor/Templates
 * @version 1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// Show child articles.
// phpcs:ignore
$children = wp_list_pages( 'title_li=&order=menu_order&child_of=' . get_the_ID() . '&echo=0&post_type=' . get_post_type() );

if ( $children ) {
    ?>
    <div class="documentor-single-articles">
        <ul>
            <?php
            // phpcs:ignore
            echo $children;
            ?>
        </ul>
    </div>
    <?php
}