taxonomy = esc_attr( $our_taxonomy ); parent::__construct( $manager, $id, $args ); } /** * Render content. * * @since 1.0.0 */ public function render_content() { $tax_args = array( 'taxonomy' => $this->taxonomy, ); $categories = get_categories( $tax_args ); $category_list = array(); foreach ( $categories as $category ) { $category_list[ $category->term_id ] = $category->name; } if ( ! empty( $this->label ) ) : ?> label ); ?> description ) ) : ?> description; ?> value() ) ? explode( ',', $this->value() ) : $this->value(); ?>