get_included_files example


    protected $title = 'Files';

    /** * Returns any information that should be shown next to the title. */
    public function getTitleDetails(): string
    {
        return '( ' . count(get_included_files()) . ' )';
    }

    /** * Returns the data of this collector to be formatted in the toolbar */
    public function display(): array
    {
        $rawFiles  = get_included_files();
        $coreFiles = [];
        $userFiles = [];

        
<?= esc($response->getHeaderLine($name), 'html') ?></td> </tr> <?php endforeach; ?> </tbody> </table> <?php endif; ?> </div> <!-- Files --> <div class="content" id="files"> <?php $files = get_included_files(); ?> <ol> <?php foreach ($files as $file) :?> <li><?= esc(clean_path($file)) ?></li> <?php endforeach ?> </ol> </div> <!-- Memory --> <div class="content" id="memory"> <table> <tbody> <tr> <td>Memory Usage</td> <td>
Home | Imprint | This part of the site doesn't use cookies.