GIF94; MINI MO Shell - Tarih Gösterimli

MINI MINI MANI MO - TARİH GÖSTERİMLİ

Path : /var/www/wordpress/wp-content/plugins/oxygen/plugin/elements/
File Upload :
Current File : /var/www/wordpress/wp-content/plugins/oxygen/plugin/elements/element-categories.php

<?php

namespace Breakdance\Elements;

/**
 * @param string $slug
 * @param string $label
 * @return void
 */
function registerCategory($slug, $label)
{
    ElementCategoriesController::getInstance()->registerCategory($slug, $label);
}

/**
 *
 * @return array{slug:string,label:string}[]
 */
function get_element_categories()
{
    return ElementCategoriesController::getInstance()->categories;
}

class ElementCategoriesController
{

    use \Breakdance\Singleton;

    /** @var array{slug:string,label:string}[] */
    public $categories = [];

    /**
     *
     * @param string $slug
     * @param string $label
     * @return void
     */
    public function registerCategory($slug, $label)
    {
        $this->categories[] = ['slug' => $slug, 'label' => $label];
    }

}


registerCategory('basic', 'Basic');
registerCategory('blocks', 'Blocks');
registerCategory('site', 'Site');
registerCategory('advanced', 'Advanced');
registerCategory('dynamic', 'Dynamic');
registerCategory('forms', 'Forms');
registerCategory('woocommerce', 'WooCommerce');
registerCategory('other', 'Other');

OHA YOOO - Tarih: 2026-08-04 00:36:01