esc_url( admin_url( '/customize.php?autofocus[section]=ogf_custom' ) ) ); wp_localize_script( 'customizer-repeater-script', 'ogf_repeater', $ogf_repeater ); } /** * Render the control. */ public function render_content() { // Get default options. $default = json_decode( $this->setting->default ); // Get values (json format). $values = $this->value(); // Decode values. $json = json_decode( $values ); if ( ! is_array( $json ) ) { $json = array( $values ); } ?> label ); ?>
iterate_array( $default ); ?> link() ); ?> class="customizer-repeater-collector" value=""/> iterate_array(); ?> link() ); ?> class="customizer-repeater-collector"/> iterate_array( $json ); ?> link() ); ?> class="customizer-repeater-collector" value="value() ); ?>"/>
input_control( $icon, $count ); ?>
input_control(); ?>
label ) ? $values->label : '' ); $description = ( isset( $values->description ) ? $values->description : '' ); $selectors = ( isset( $values->selectors ) ? $values->selectors : '' ); $display = ( 0 === $count ? 'none' : 'block' ); ?>