taxonomy = esc_attr( $taxonomy ); parent::__construct( $manager, $id, $args ); } /** * Render content. * * @since Business Center Pro 2.0.0 */ public function render_content() { $tax_args = array( 'hierarchical' => 0, 'taxonomy' => $this->taxonomy, ); $taxonomies = get_categories( $tax_args ); $multiple = $this->multiple; if( $multiple ) { $multiple_attr = 'size="10" multiple=""'; } else { $multiple_attr = ''; } ?>

taxonomy = esc_attr( $taxonomy ); parent::__construct( $manager, $id, $args ); } /** * Render content. * * @since Business Center Pro 2.0.0 */ public function render_content() { $tax_args = array( 'hierarchical' => 0, 'taxonomy' => $this->taxonomy, ); $taxonomies = get_categories( $tax_args ); ?> ' . $this->label . ''; } } class Business_Center_Pro_Testimonial_Post_Control extends WP_Customize_Control { public $type = 'testimonial-post'; public $post_type = 'jetpack-testimonial'; public function render_content() { $latest = new WP_Query( array( 'post_type' => $this->post_type, 'post_status' => 'publish', 'orderby' => 'date', 'order' => 'DESC' )); ?> false ), 'objects'); $this->taxonomy = $taxonomy; parent::__construct( $manager, $id, $args ); } /** * Render content. * * @since Business Center Pro 2.0.0 */ public function render_content() { ?> taxonomy = esc_attr( $taxonomy ); parent::__construct( $manager, $id, $args ); } /** * Displays the control content. * * @since 1.0.0 * @access public * @return void */ public function render_content() { $tax_args = array( 'hierarchical' => 0, 'taxonomy' => $this->taxonomy, ); $choices = get_categories( $tax_args ); if ( empty( $choices ) ) return; ?> label ) ) : ?> label ); ?> description ) ) : ?> description ); ?> value() ) ? explode( ',', $this->value() ) : $this->value(); ?> link(); ?> value="" /> $this->post_type, 'post_status' => 'publish', 'orderby' => 'date', 'order' => 'DESC' )); ?>