cloggier
↑
/wp-content/themes/hestia/inc/customizer/controls
marsupiataab
hypermuffing
cloggier
hypermuffing
marsupiataab
customizer-scroll/
cloggier
marsupiataab
customizer-tabs/
cloggier
marsupiataab
helper-plugin-install/
cloggier
marsupiataab
subscribe-info/
cloggier
marsupiataab
class-hestia-button.php
3,997 B
cloggier
marsupiataab
class-hestia-contact-info.php
1,136 B
cloggier
marsupiataab
class-hestia-control-upsell.php
2,718 B
cloggier
marsupiataab
class-hestia-customize-control-radio.php
2,184 B
cloggier
marsupiataab
class-hestia-customizer-heading.php
836 B
cloggier
marsupiataab
class-hestia-generic-notice-section.php
2,543 B
cloggier
marsupiataab
class-hestia-main-notice-section.php
3,306 B
cloggier
marsupiataab
class-hestia-pagebuilder-button.php
5,632 B
cloggier
marsupiataab
class-hestia-section-docs.php
1,649 B
cloggier
marsupiataab
class-hestia-section-upsell.php
2,949 B
cloggier
marsupiataab
class-hestia-separator-section.php
595 B
cloggier
marsupiataab
<?php /** * Documentation link in main customizer. * * @package Hestia */ /** * Class Hestia_Section_Docs * * @since 1.0.0 * @access public */ class Hestia_Section_Docs extends WP_Customize_Section { /** * The type of customize section being rendered. * * @since 1.0.0 * @access public * @var string */ public $type = 'hestia-section-docs'; /** * Upsell title to output. * * @since 1.0.0 * @access public * @var string */ public $theme_info_title = ''; /** * Label text to output. * * @since 1.0.0 * @access public * @var string */ public $label_text = ''; /** * Label URL. * * @since 1.0.0 * @access public * @var string */ public $label_url = ''; /** * Add custom parameters to pass to the JS via JSON. * * @since 1.0.0 * @access public */ public function json() { $json = parent::json(); $json['theme_info_title'] = $this->theme_info_title; $json['label_text'] = $this->label_text; $json['label_url'] = $this->label_url; return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?> <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }} cannot-expand"> <h3 class="accordion-section-title"> {{data.theme_info_title}} <# if ( data.label_text && data.label_url ) { #> <a class="button button-secondary alignright" href="{{data.label_url}}" target="_blank"> {{data.label_text}} </a> <# } #> </h3> </li> <?php } }
cloggier