/** * Astra Theme Customizer Configuration Builder. * * @package astra-builder * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 3.0.0 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Register Builder Customizer Configurations. * * @since 3.0.0 */ class Astra_Button_Component_Configs { /** * Register Builder Customizer Configurations. * * @param Array $configurations Configurations. * @param string $builder_type Builder Type. * @param string $section Section. * * @since 3.0.0 * @return Array Astra Customizer Configurations with updated configurations. */ public static function register_configuration( $configurations, $builder_type = 'header', $section = 'section-hb-button-' ) { if ( 'footer' === $builder_type ) { $class_obj = Astra_Builder_Footer::get_instance(); $number_of_button = Astra_Builder_Helper::$num_of_footer_button; $component_limit = defined( 'ASTRA_EXT_VER' ) ? Astra_Builder_Helper::$component_limit : Astra_Builder_Helper::$num_of_footer_button; } else { $class_obj = Astra_Builder_Header::get_instance(); $number_of_button = Astra_Builder_Helper::$num_of_header_button; $component_limit = defined( 'ASTRA_EXT_VER' ) ? Astra_Builder_Helper::$component_limit : Astra_Builder_Helper::$num_of_header_button; } $button_config = array(); for ( $index = 1; $index <= $component_limit; $index++ ) { $_section = $section . $index; $_prefix = 'button' . $index; /** * These options are related to Header Section - Button. * Prefix hs represents - Header Section. */ $button_config[] = array( /* * Header Builder section - Button Component Configs. */ array( 'name' => $_section, 'type' => 'section', 'priority' => 50, /* translators: %s Index */ 'title' => ( 1 === $number_of_button ) ? __( 'Button', 'astra' ) : sprintf( __( 'Button %s', 'astra' ), $index ), 'panel' => 'panel-' . $builder_type . '-builder-group', 'clone_index' => $index, 'clone_type' => $builder_type . '-button', ), /** * Option: Header Builder Tabs */ array( 'name' => $_section . '-ast-context-tabs', 'section' => $_section, 'type' => 'control', 'control' => 'ast-builder-header-control', 'priority' => 0, 'description' => '', ), /** * Option: Button Text */ array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text]', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-text' ), 'type' => 'control', 'control' => 'text', 'section' => $_section, 'priority' => 20, 'title' => __( 'Text', 'astra' ), 'transport' => 'postMessage', 'partial' => array( 'selector' => '.ast-' . $builder_type . '-button-' . $index, 'container_inclusive' => false, 'render_callback' => array( $class_obj, 'button_' . $index ), 'fallback_refresh' => false, ), 'context' => Astra_Builder_Helper::$general_tab, ), /** * Option: Button Link */ array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-link-option]', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-link-option' ), 'type' => 'control', 'control' => 'ast-link', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_link' ), 'section' => $_section, 'priority' => 30, 'title' => __( 'Link', 'astra' ), 'transport' => 'postMessage', 'partial' => array( 'selector' => '.ast-' . $builder_type . '-button-' . $index, 'container_inclusive' => false, 'render_callback' => array( $class_obj, 'button_' . $index ), ), 'context' => Astra_Builder_Helper::$general_tab, 'divider' => array( 'ast_class' => 'ast-top-section-divider' ), ), /** * Group: Primary Header Button Colors Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-color-group]', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-color-group' ), 'type' => 'control', 'control' => 'ast-color-group', 'title' => __( 'Text Color', 'astra' ), 'section' => $_section, 'transport' => 'postMessage', 'priority' => 70, 'context' => Astra_Builder_Helper::$design_tab, 'responsive' => true, 'divider' => array( 'ast_class' => 'ast-section-spacing' ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-background-color-group]', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-color-group' ), 'type' => 'control', 'control' => 'ast-color-group', 'title' => __( 'Background Color', 'astra' ), 'section' => $_section, 'transport' => 'postMessage', 'priority' => 70, 'context' => Astra_Builder_Helper::$design_tab, 'responsive' => true, ), /** * Option: Button Text Color */ array( 'name' => $builder_type . '-' . $_prefix . '-text-color', 'transport' => 'postMessage', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-text-color' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-color-group]', 'section' => $_section, 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-responsive-color', 'responsive' => true, 'rgba' => true, 'priority' => 9, 'context' => Astra_Builder_Helper::$design_tab, 'title' => __( 'Normal', 'astra' ), ), /** * Option: Button Text Hover Color */ array( 'name' => $builder_type . '-' . $_prefix . '-text-h-color', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-text-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-color-group]', 'section' => $_section, 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-responsive-color', 'responsive' => true, 'rgba' => true, 'priority' => 9, 'context' => Astra_Builder_Helper::$design_tab, 'title' => __( 'Hover', 'astra' ), ), /** * Option: Button Background Color */ array( 'name' => $builder_type . '-' . $_prefix . '-back-color', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-back-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-background-color-group]', 'section' => $_section, 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-responsive-color', 'responsive' => true, 'rgba' => true, 'priority' => 10, 'context' => Astra_Builder_Helper::$design_tab, 'title' => __( 'Normal', 'astra' ), ), /** * Option: Button Button Hover Color */ array( 'name' => $builder_type . '-' . $_prefix . '-back-h-color', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-back-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-background-color-group]', 'section' => $_section, 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-responsive-color', 'responsive' => true, 'rgba' => true, 'priority' => 10, 'context' => Astra_Builder_Helper::$design_tab, 'title' => __( 'Hover', 'astra' ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-builder-button-border-colors-group]', 'type' => 'control', 'control' => 'ast-color-group', 'title' => __( 'Border Color', 'astra' ), 'section' => $_section, 'priority' => 70, 'transport' => 'postMessage', 'context' => Astra_Builder_Helper::$design_tab, 'responsive' => true, 'divider' => array( 'ast_class' => 'ast-bottom-divider' ), ), /** * Option: Button Border Color */ array( 'name' => $builder_type . '-' . $_prefix . '-border-color', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-border-color' ), 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-builder-button-border-colors-group]', 'transport' => 'postMessage', 'type' => 'sub-control', 'section' => $_section, 'control' => 'ast-responsive-color', 'responsive' => true, 'rgba' => true, 'priority' => 70, 'context' => Astra_Builder_Helper::$design_tab, 'title' => __( 'Normal', 'astra' ), ), /** * Option: Button Border Hover Color */ array( 'name' => $builder_type . '-' . $_prefix . '-border-h-color', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-border-h-color' ), 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-builder-button-border-colors-group]', 'transport' => 'postMessage', 'type' => 'sub-control', 'section' => $_section, 'control' => 'ast-responsive-color', 'responsive' => true, 'rgba' => true, 'priority' => 70, 'context' => Astra_Builder_Helper::$design_tab, 'title' => __( 'Hover', 'astra' ), ), /** * Option: Button Border Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-border-size]', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-border-size' ), 'type' => 'control', 'section' => $_section, 'control' => 'ast-border', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 99, 'title' => __( 'Border Width', 'astra' ), 'context' => Astra_Builder_Helper::$design_tab, 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), 'divider' => array( 'ast_class' => 'ast-top-section-divider' ), ), /** * Option: Button Border Radius */ array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-border-radius]', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-border-radius' ), 'type' => 'control', 'section' => $_section, 'control' => 'ast-slider', 'transport' => 'postMessage', 'priority' => 99, 'context' => Astra_Builder_Helper::$design_tab, 'title' => __( 'Border Radius', 'astra' ), 'suffix' => 'px', 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), 'divider' => array( 'ast_class' => 'ast-top-section-divider' ), ), /** * Option: Primary Header Button Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-typography]', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-text-typography' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Font', 'astra' ), 'section' => $_section, 'transport' => 'postMessage', 'context' => Astra_Builder_Helper::$design_tab, 'priority' => 90, ), /** * Option: Primary Header Button Font Family */ array( 'name' => $builder_type . '-' . $_prefix . '-font-family', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-font-family' ), 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-typography]', 'type' => 'sub-control', 'section' => $_section, 'control' => 'ast-font', 'font_type' => 'ast-font-family', 'title' => __( 'Font Family', 'astra' ), 'context' => Astra_Builder_Helper::$general_tab, 'connect' => $builder_type . '-' . $_prefix . '-font-weight', 'priority' => 1, 'divider' => array( 'ast_class' => 'ast-sub-bottom-dotted-divider' ), ), /** * Option: Primary Footer Button Font Weight */ array( 'name' => $builder_type . '-' . $_prefix . '-font-weight', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-font-weight' ), 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-typography]', 'type' => 'sub-control', 'section' => $_section, 'control' => 'ast-font', 'font_type' => 'ast-font-weight', 'title' => __( 'Font Weight', 'astra' ), 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'connect' => $builder_type . '-' . $_prefix . '-font-family', 'priority' => 2, 'context' => Astra_Builder_Helper::$general_tab, 'divider' => array( 'ast_class' => 'ast-sub-bottom-dotted-divider' ), ), /** * Option: Primary Header Button Font Size */ array( 'name' => $builder_type . '-' . $_prefix . '-font-size', 'default' => astra_get_option( $builder_type . '-' . $_prefix . '-font-size' ), 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-typography]', 'transport' => 'postMessage', 'title' => __( 'Font Size', 'astra' ), 'type' => 'sub-control', 'section' => $_section, 'control' => 'ast-responsive-slider', 'priority' => 3, 'context' => Astra_Builder_Helper::$general_tab, 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_slider' ), 'suffix' => array( 'px', 'em' ), 'input_attrs' => array( 'px' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), 'em' => array( 'min' => 0, 'step' => 0.01, 'max' => 20, ), ), ), /** * Option: Primary Footer Button Font Extras */ array( 'name' => $builder_type . '-' . $_prefix . '-font-extras', 'parent' => ASTRA_THEME_SETTINGS . '[' . $builder_type . '-' . $_prefix . '-text-typography]', 'section' => $_section, 'type' => 'sub-control', 'control' => 'ast-font-extras', 'priority' => 5, 'default' => astra_get_option( 'breadcrumb-font-extras' ), 'context' => Astra_Builder_Helper::$general_tab, 'title' => __( 'Font Extras', 'astra' ), ), ); if ( 'footer' === $builder_type ) { $button_config[] = array( array( 'name' => ASTRA_THEME_SETTINGS . '[footer-button-' . $index . '-alignment]', 'default' => astra_get_option( 'footer-button-' . $index . '-alignment' ), 'type' => 'control', 'control' => 'ast-selector', 'section' => $_section, 'priority' => 35, 'title' => __( 'Alignment', 'astra' ), 'context' => Astra_Builder_Helper::$general_tab, 'transport' => 'postMessage', 'choices' => array( 'flex-start' => 'align-left', 'center' => 'align-center', 'flex-end' => 'align-right', ), 'divider' => array( 'ast_class' => 'ast-top-section-divider' ), ), ); } $button_config[] = Astra_Builder_Base_Configuration::prepare_visibility_tab( $_section, $builder_type ); $button_config[] = Astra_Builder_Base_Configuration::prepare_advanced_tab( $_section ); } $button_config = call_user_func_array( 'array_merge', $button_config + array( array() ) ); $configurations = array_merge( $configurations, $button_config ); return $configurations; } } /** * Kicking this off by creating object of this class. */ new Astra_Button_Component_Configs(); Uncategorized - Cheap IPTV

Uncategorized

Beste Paysafecard Casinos Casino Online -Glücksspiel legal 2025

Content Casino Online -Glücksspiel legal: Abgelehnte Transaktionen auf das Spielsaal Rand Unser Verbunden Kasino Geldkasten anbrechen PayPal Kasino Sicherheit – sei dies unter allen umständen, unter einsatz von PayPal einzuzahlen? Unsere Erfahrungen besitzen gezeigt, dasssich welches Paysafecard Gutschrift sehr direkt auf das Spielerkonto transferierenlässt. Das Kritikpunkt wäre bspw., auf diese weise das Wert das Paysafecard …

Beste Paysafecard Casinos Casino Online -Glücksspiel legal 2025 Read More »

Verbunden Blackjack über Echtgeld aufführen Casino playmillion Kein Einzahlungsbonus Blackjack Casinos

Content Casino playmillion Kein Einzahlungsbonus – Blackjack Kollationieren – reale Casinos über den daumen Online Versorger 🎲 Nachfolgende verschiedenen Angeschlossen-Casinospiele Testkriterien zur Auswahl des besten Verbunden Echtgeld Casinos Tipps & Strategien je der erfolgreiches Blackjack Erlebnis Aber sekundär Tischspiele genau so wie Roulette, Blackjack & Baccarat bleiben Klassiker, unser inside sozusagen ihnen seriösen Angeschlossen-Spielbank nach …

Verbunden Blackjack über Echtgeld aufführen Casino playmillion Kein Einzahlungsbonus Blackjack Casinos Read More »

Nachfolgende besten Echtgeld Erreichbar Casinos im Casino Skrill echtes Geld Erprobung 2025

Content Casino Skrill echtes Geld: Welches Runde bietet nachfolgende besten Voraussetzungen zum Bares erwerben im Spielsaal? Noch mehr Spielsaal Vergleiche Bekomme ich Freispiele within dem Provision bloß Einzahlung? Cashed – Top Spielsaal pro High Tretroller Verantwortungsbereich und Güte sollen vorausgesetzt man sagt, sie seien – vor allem pro welches beste Verbunden Spielbank. Unter anderem man …

Nachfolgende besten Echtgeld Erreichbar Casinos im Casino Skrill echtes Geld Erprobung 2025 Read More »

Diese besten 5 Rollenschlitze online Bitcoin Casinos erreichbar Top 10 2025

Content 5 Rollenschlitze online – Vorteile bei Bitcoin Casinos ohne KYC Wafer Spiele beherrschen Diese über Bitcoin ferner anderen Kryptowährungen vortragen? Tischspiele – Poker, Roulette & Blackjack über BTC zum besten geben Sportliches verhalten within BTC Erreichbar Casinos Fangen Die leser unter allen umständen, sic unser bei Ihnen verschiedene Kasino Die Lieblingswährung akzeptiert Bitcoin Casinos …

Diese besten 5 Rollenschlitze online Bitcoin Casinos erreichbar Top 10 2025 Read More »

Nachfolgende besten Verbunden Casinos inside Teutonia 2025 Tagesordnungspunkt direkt von der Quelle auswählen

Content 👉 Ist und bleibt dies besser, Slots via diesem Höchsteinsatz dahinter aufführen? – direkt von der Quelle Wirklich so unter die arme greifen die autoren Jedermann, unser besten Casinos Verbunden dahinter aufstöbern Verbunden Spielsaal Tipps 2025: Entsprechend Respons Deinen Nutzung Gewieft Nutzst Unsere Experten Tipps zum verantwortungsvollen Durchlauf Casino Maklercourtage abzüglich Einzahlung 2025 – …

Nachfolgende besten Verbunden Casinos inside Teutonia 2025 Tagesordnungspunkt direkt von der Quelle auswählen Read More »

Irgendwo man damit echtes Eye of Horus Original-Symbole Piepen Verbunden Spielt?

Content 💡 Entsprechend spielt man Bingo, wie gleichfalls konnte man inoffizieller mitarbeiter Bingo Runde erlangen? | Eye of Horus Original-Symbole Qualitätskriterium: Nicht vor zu welcher zeit vermag meinereiner unser Freispiele nützlichkeit? Echtgeld Casinos Österreich im Abmachung Sonstige Varianten im griff haben zigeunern auf nachfolgende Höhe ihr Einsätze einbehalten, mutmaßlich blättern zwei Rollen und es wird …

Irgendwo man damit echtes Eye of Horus Original-Symbole Piepen Verbunden Spielt? Read More »

Diese Besten mummy $ 1 Einzahlung 2025 Bitcoin Spielbank Seiten

Content Top-Krypto-Glücksspielplattformen: mummy $ 1 Einzahlung 2025 Bitcoin Bargeld Spielautomaten Wie geschmiert & schnell inoffizieller mitarbeiter SlotoBit Kasino ausfüllen Casino Provision & Wettanforderungen So funktioniert eine Online Spielbank Einzahlung Within umsatzfreien Free Spins können Die leser sich diese Gewinne sofort auszahlen lassen. Beachten Die leser zudem, so sera etwaig ihr Zeitsperre gibt, as part of …

Diese Besten mummy $ 1 Einzahlung 2025 Bitcoin Spielbank Seiten Read More »

Beste eye of horus casino Uhrzeit pro unser Spielothek? Wann geben Automaten am besten?

Content Blackjack | eye of horus casino Die sie sind diese besten Erreichbar Casinos as part of Brd 2025? Beste Online Casinos Teutonia – dies ist und bleibt der Testsieger Mobile Spielsaal Spiele – So funktioniert das Vortragen von auf achse Existireren es Spielbank Spiele für das Mobilfunktelefon? Aktuelle Spielbank-Strategien Welches umfangreiche Bonusprogramm durch 1Red …

Beste eye of horus casino Uhrzeit pro unser Spielothek? Wann geben Automaten am besten? Read More »

Explore the Echte Geldschlitze Best Bitcoin Casinos and Gambling Sites inside 2025

Content Nachfolgende Zukunft des Erreichbar Glücksspiels wird daselbst. | Echte Geldschlitze Provision exklusive Einzahlung Kann meine wenigkeit Live-Dealer-Casinospiele via Kryptowährung aufführen? Are Bitcoin Casinos Legit? Oft man sagt, sie seien auch Jackpot-Spiele & ohne Titel pro Echte Geldschlitze die Anwendung durch Bitcoin inside Casinos zur Order vorbereitet. Gleichförmigkeit sei also garantiert undurchführbar & Diese vermögen …

Explore the Echte Geldschlitze Best Bitcoin Casinos and Gambling Sites inside 2025 Read More »

Nachfolgende pharaosrichesgratis com besten Erreichbar Casinos inside Teutonia 2025 Spielbank Wissender

Content Pharaosrichesgratis com | SpinzGroßzügiger 400 % Willkommensbonus, 50 Freispiele Sie sind Spielautomaten sehr wohl zufälligerweise? Existiert parece exklusive Boni ferner Aktionen je das Aufführen irgendeiner Slot-Spiele within Erreichbar-Casinos within Brd? Was auch immer, ended up being man braucht, wird eine stabile Internetverbindung ferner ein kompatibles Gerätschaft. Registrierungen, Ein- & Auszahlungen sofern unser Aktivieren bei …

Nachfolgende pharaosrichesgratis com besten Erreichbar Casinos inside Teutonia 2025 Spielbank Wissender Read More »

You cannot copy content of this page