add_panel( 'academylms', array( 'priority' => 200, 'capability' => 'manage_options', 'theme_supports' => '', 'title' => $panel_title, 'description' => sprintf( /* translators: %s: link to the Design screen. */ __( 'Colours, course cards and course pages are set on %s.', 'academy' ), '' . esc_html( sprintf( /* translators: %s: plugin title (white-label aware). */ __( '%s → Customize', 'academy' ), $panel_title ) ) . '' ), ) ); } public function add_sections( $wp_customize ) { if ( ! \Academy\Design\Settings::mode()['applies'] ) { new Section\ArchiveCourse( $wp_customize ); new Section\SingleCourse( $wp_customize ); } new Section\ArchiveTutorBooking( $wp_customize ); new Section\SingleBooking( $wp_customize ); new Section\LearnPage( $wp_customize ); new Section\FrontendDashboard( $wp_customize ); } }