$this->section_labels, 'title' => __( 'Error Page', 'bigshop' ), 'description' => __( 'WTBigshop error section.', 'bigshop' ), 'priority' => 39 ] ); Customize::add_controls( $this->section_labels, $this->get_controls() ); } /** * Get controls * @return array */ public function get_controls() { return apply_filters( 'wtbigshop_labels_controls', [ 'rt_error_image' => [ 'type' => 'image', 'label' => __( 'Error Image', 'bigshop' ), 'description' => __( 'Upload error image for your site.', 'bigshop' ), 'button_label' => __( 'Error image', 'bigshop' ), ], 'rt_error_heading' => [ 'type' => 'text', 'label' => __( 'Error Heading', 'bigshop' ), 'default' => __( 'Oops, something went wrong.', 'bigshop' ), ], 'rt_error_text' => [ 'type' => 'text', 'label' => __( 'Error Text', 'bigshop' ), 'default' => __( 'Sorry! This Page Is Not Available!', 'bigshop' ), ], 'rt_error_button_text' => [ 'type' => 'text', 'label' => __( 'Error Button Text', 'bigshop' ), 'default' => __( 'Back To Home Page', 'bigshop' ), ], ] ); } }