add_section( 'gh_404', array( 'title' => __('Page 404','blogim'), 'priority' => 109, 'description' => __('Choose page as content for 404 page','blogim'), ) ); $wp_customize->add_setting( 'gh_404_page', array( 'default' => '', 'sanitize_callback' => 'gh_sanitize_select_page', ) ); $wp_customize->add_control( 'gh_404_page', array( 'section' => 'gh_404', 'label' => __('Choose page','blogim'), 'type' => 'select', 'choices' => gh_get_pages(), ) );