$this->section_id, 'title' => __( 'Heading Typography', 'bigshop' ), 'description' => __( 'BigShop Heading Typography Section', 'bigshop' ), 'panel' => 'rt_typography_panel', 'priority' => 2 ] ); Customize::add_controls( $this->section_id, $this->get_controls() ); } /** * Get controls * @return array */ public function get_controls() { return apply_filters( 'bigshop_heading_typo_section', [ 'rt_all_heading_typo' => [ 'type' => 'typography', 'label' => __( 'All Headings Typography', 'bigshop' ), 'default' => json_encode( [ 'font' => 'Sarabun', 'regularweight' => '700', 'size' => '44', 'lineheight' => '54', ] ) ], 'rt_heading_h1_typo' => [ 'type' => 'typography', 'label' => __( 'H1 Typography', 'bigshop' ), 'default' => json_encode( [ 'font' => '', 'regularweight' => '', 'size' => '', 'lineheight' => '', ] ) ], 'rt_heading_h2_typo' => [ 'type' => 'typography', 'label' => __( 'H2 Typography', 'bigshop' ), 'default' => json_encode( [ 'font' => '', 'regularweight' => '', 'size' => '', 'lineheight' => '', ] ) ], 'rt_heading_h3_typo' => [ 'type' => 'typography', 'label' => __( 'H3 Typography', 'bigshop' ), 'default' => json_encode( [ 'font' => '', 'regularweight' => '', 'size' => '', 'lineheight' => '', ] ) ], 'rt_heading_h4_typo' => [ 'type' => 'typography', 'label' => __( 'H4 Typography', 'bigshop' ), 'default' => json_encode( [ 'font' => '', 'regularweight' => '', 'size' => '', 'lineheight' => '', ] ) ], 'rt_heading_h5_typo' => [ 'type' => 'typography', 'label' => __( 'H5 Typography', 'bigshop' ), 'default' => json_encode( [ 'font' => '', 'regularweight' => '', 'size' => '', 'lineheight' => '', ] ) ], 'rt_heading_h6_typo' => [ 'type' => 'typography', 'label' => __( 'H6 Typography', 'bigshop' ), 'default' => json_encode( [ 'font' => '', 'regularweight' => '', 'size' => '', 'lineheight' => '', ] ) ], ] ); } }