MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //usr/local/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
}