options = $options; parent::__construct( $manager, $id, $args ); } /** * Render the control's content. * * Allows the content to be overriden without having to rewrite the wrapper. * * @sincludee 11/14/2012 * @return void */ //show portfolio customizer categories public function render_content(){ // call wp_dropdown_cats to get data and add to select field add_action( 'wp_dropdown_cats', array( $this, 'wp_dropdown_cats' ) ); // Set defaults $this->defaults = array( 'show_option_none' => __( 'None','bluestick' ), 'orderby' => 'name', 'hide_empty' => 0, 'id' => $this->id, 'selected' => $this->value(), 'taxonomy' => 'portfolio_categories' ); ?> get_link(), $output ); return $output; } }