HEX
Server: nginx/1.27.1
System: Linux in-3 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User: ivenus-clone (3297)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v4513/tepnot/public_html/wp-content/plugins/dokan-lite/includes/Shortcodes/Shortcodes.php
<?php

namespace WeDevs\Dokan\Shortcodes;

use WeDevs\Dokan\Shortcodes\BestSellingProduct;
use WeDevs\Dokan\Shortcodes\Dashboard;
use WeDevs\Dokan\Shortcodes\MyOrders;
use WeDevs\Dokan\Shortcodes\Stores;
use WeDevs\Dokan\Shortcodes\TopRatedProduct;
use WeDevs\Dokan\Shortcodes\VendorRegistration;

class Shortcodes {

    private $shortcodes = [];

    /**
     *  Register Dokan shortcodes
     *
     * @since 3.0.0
     * @since 3.14.10 Added dokan-customer-migration shortcode.
     *
     * @return void
     */
    public function __construct() {
        $this->shortcodes = apply_filters(
            'dokan_shortcodes', [
				'dokan-dashboard'            => new Dashboard(),
				'dokan-best-selling-product' => new BestSellingProduct(),
				'dokan-top-rated-product'    => new TopRatedProduct(),
				'dokan-my-orders'            => new MyOrders(),
				'dokan-stores'               => new Stores(),
				'dokan-vendor-registration'  => new VendorRegistration(),
				'dokan-customer-migration'   => new CustomerMigration(),
			]
        );
    }

    /**
     * Get registered shortcode classes
     *
     * @since 3.0.0
     *
     * @return array
     */
    public function get_shortcodes() {
        return $this->shortcodes;
    }
}