$this->section_site_color, 'panel' => 'rt_color_panel', 'title' => __( 'Site Colors', 'bigshop' ), 'description' => __( 'WTBigshop Site Color Section', 'bigshop' ), 'priority' => 2 ] ); Customize::add_controls( $this->section_site_color, $this->get_controls() ); } /** * Get controls * @return array */ public function get_controls() { return apply_filters( 'wtbigshop_site_color_controls', [ 'rt_site_color1' => [ 'type' => 'heading', 'label' => __( 'Site Ascent Color', 'bigshop' ), ], 'rt_primary_color' => [ 'type' => 'color', 'label' => __( 'Primary Color', 'bigshop' ), ], 'rt_primary_light_color' => [ 'type' => 'color', 'label' => __( 'Primary Light Color', 'bigshop' ), ], 'rt_secondary_color' => [ 'type' => 'color', 'label' => __( 'Secondary Color', 'bigshop' ), ], 'rt_site_color2' => [ 'type' => 'heading', 'label' => __( 'Others Color', 'bigshop' ), ], 'rt_body_color' => [ 'type' => 'color', 'label' => __( 'Body Color', 'bigshop' ), ], 'rt_body_bg_color' => [ 'type' => 'color', 'label' => __( 'Body BG Color', 'bigshop' ), ], 'rt_title_color' => [ 'type' => 'color', 'label' => __( 'Title Color', 'bigshop' ), ], 'rt_rating_color' => [ 'type' => 'color', 'label' => __( 'Rating Color', 'bigshop' ), ], 'rt_meta_color' => [ 'type' => 'color', 'label' => __( 'Meta Color', 'bigshop' ), ], 'rt_meta_light' => [ 'type' => 'color', 'label' => __( 'Meta Light', 'bigshop' ), ], 'rt_gray10_color' => [ 'type' => 'color', 'label' => __( 'Gray # 1', 'bigshop' ), ], 'rt_gray20_color' => [ 'type' => 'color', 'label' => __( 'Gray # 2', 'bigshop' ), ], ] ); } }