add_section($section, array( 'title' => __('Help', 'pjax-blog'), 'panel' => $panel, 'description' => __('Need help? Please visit sites below to get support.', 'pjax-blog'), 'priority' => 1000, 'capability' => 'manage_options', )); /** * Plugin */ $wp_customize->add_setting($setting_id = LEAPIN_IDs::$leapin_help_plugin, array( 'type' => 'theme_mod', // or 'option' 'sanitize_callback' => 'leapin_sanitize_mock', )); $wp_customize->add_control(new LEAPIN_Heading_Customize_Control($wp_customize, LEAPIN_IDs::$leapin_help_plugin, array( 'settings' => LEAPIN_IDs::$leapin_help_plugin, 'label' => __('Install Addon', 'pjax-blog'), 'description' => sprintf('%s
%s', __('Strongly recommend to install Pjax Blog Bundle which contains page speed optimization and additional options in customize panel.', 'pjax-blog'), __('Download Page', 'pjax-blog')), 'section' => $section, 'priority' => LEAPIN_IDs::getPriority() ))); /** * Links */ $wp_customize->add_setting($setting_id = LEAPIN_IDs::$leapin_help_links, array( 'type' => 'theme_mod', // or 'option' 'sanitize_callback' => 'leapin_sanitize_mock', )); $wp_customize->add_control(new LEAPIN_Heading_Customize_Control($wp_customize, LEAPIN_IDs::$leapin_help_links, array( 'settings' => LEAPIN_IDs::$leapin_help_links, 'label' => __('Links', 'pjax-blog'), 'section' => $section, 'description' => sprintf('%s
', __('Document', 'pjax-blog')) . sprintf('%s
', __('Forum', 'pjax-blog')) . sprintf('%s
', __('Features', 'pjax-blog')) . sprintf('%s', __('Website', 'pjax-blog')), 'priority' => LEAPIN_IDs::getPriority() )));