/**
  * Return the plugin settings.
  *
  * @since 4.0.0
  * 
  * @return array The array of plugin settings.
  */
 public static function getPluginSettings()
 {
     if (empty(self::$plugin_settings)) {
         self::$plugin_settings = array('load_stylesheets' => array('label' => __('Load stylesheets', 'sliderpro'), 'default_value' => 'automatically', 'available_values' => array('automatically' => __('Automatically', 'sliderpro'), 'homepage' => __('On homepage', 'sliderpro'), 'all' => __('On all pages', 'sliderpro')), 'description' => __('The plugin can detect the presence of the slider in a post, page or widget, and will automatically load the necessary stylesheets. However, when the slider is loaded in PHP code, like in the theme\'s header or another template file, you need to manually specify where the stylesheets should load. If you load the slider only on the homepage, select <i>On homepage</i>, or if you load it in the header or another section that is visible on multiple pages, select <i>On all pages</i>.', 'sliderpro')), 'load_custom_css_js' => array('label' => __('Load custom CSS and JavaScript', 'sliderpro'), 'default_value' => 'inline', 'available_values' => array('inline' => __('Inline', 'sliderpro'), 'in_files' => __('In files', 'sliderpro')), 'description' => __('By default, custom CSS and JavaScript code added to the slider will be loaded inline. However, if you want to add large amounts of custom CSS or JavaScript, it\'s better to have the code loaded in files, rather than inline. If you chose to load the custom code in files, after selecting this option, you need to re-save the custom CSS and/or JavaScript and the plugin will automatically create the <i>sliderpro-custom</i> folder inside <i>wp-plugins</i> and then <i>custom.css</i> and <i>custom.js</i> inside <i>sliderpro-custom</i>. You might also be prompted to provide credentials if the files can\'t be created due to folder permission issues.', 'sliderpro')), 'load_js_in_all_pages' => array('label' => __('Load JS files on all pages', 'sliderpro'), 'default_value' => false, 'description' => __('By enabling this option, the slider\'s JavaScript files will be loaded on all pages. This is necessary in sites that use AJAX for navigation between pages.', 'sliderpro')), 'load_unminified_scripts' => array('label' => __('Load unminified scripts', 'sliderpro'), 'default_value' => false, 'description' => __('Check this option if you want to load the unminified/uncompressed CSS and JavaScript files for the slider. This is useful for debugging purposes.', 'sliderpro')), 'cache_expiry_interval' => array('label' => __('Cache expiry interval', 'sliderpro'), 'default_value' => 24, 'description' => __('Indicates the time interval after which a slider\'s cache will expire. If the cache of a slider has expired, the slider will be rendered again and cached the next time it is viewed.', 'sliderpro')), 'hide_inline_info' => array('label' => __('Hide inline info', 'sliderpro'), 'default_value' => false, 'description' => __('Indicates whether the inline information will be displayed in admin slides and wherever it\'s available.', 'sliderpro')), 'hide_getting_started_info' => array('label' => __('Hide <i>Getting Started</i> info', 'sliderpro'), 'default_value' => false, 'description' => __('Indicates whether the <i>Getting Started</i> information will be displayed in the <i>All Sliders</i> page, above the list of sliders. This setting will be disabled if the <i>Close</i> button is clicked in the information box.', 'sliderpro')), 'access' => array('label' => __('Access', 'sliderpro'), 'default_value' => 'manage_options', 'available_values' => array('manage_options' => __('Administrator', 'sliderpro'), 'publish_pages' => __('Editor', 'sliderpro '), 'publish_posts' => __('Author', 'sliderpro'), 'edit_posts' => __('Contributor', 'sliderpro')), 'description' => __('Sets what category of users will have access to the plugin\'s admin area.', 'sliderpro')));
     }
     return self::$plugin_settings;
 }