403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.216.231
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/ia/wp-content/plugins/wordpress-popular-posts/src/Shortcode/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/ia/wp-content/plugins/wordpress-popular-posts/src/Shortcode/ShortcodeLoader.php
<?php

namespace WordPressPopularPosts\Shortcode;

use WordPressPopularPosts\Output;

class ShortcodeLoader {

    /**
     * Shortcode array.
     *
     * @since  6.3.0
     * @var array
     * @access protected
     */
    protected $shortcodes;

    /**
     * Admin settings.
     *
     * @since   6.3.0
     * @var     array
     */
    private $admin_options = [];

    /**
     * Output object.
     *
     * @since  6.3.0
     * @var     \WordPressPopularPosts\Output       $output
     * @access  private
     */
    private $output;

    /**
     * Construct.
     *
     * @param   array                               $admin_options
     * @param   \WordPressPopularPosts\Output       $output         Output class.
     */
    public function __construct(array $admin_options, Output $output)
    {
        $this->admin_options = $admin_options;
        $this->output = $output;
        $this->shortcodes = [
            __NAMESPACE__ . '\Posts',
            __NAMESPACE__ . '\ViewsCount'
        ];
    }

    /**
     * Loads all registered shortcodes.
     *
     * @since  6.3.0
     */
    public function load() : void
    {
        if ( is_array($this->shortcodes) && ! empty($this->shortcodes) ) {
            foreach ($this->shortcodes as $shortcode) {
                $instance = new $shortcode($this->admin_options, $this->output);
                $instance->init();
            }
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit