* @copyright Christopher Davis 2012 * @license GPLv2 * @package ArbitrarySidebars */ namespace Chrisguitarguy\ArbitrarySidebars; !defined('ABSPATH') && exit; class Sidebars { /** * Option where the plugin will store things. * * @since 1.0 */ const OPTION = 'cgg_arbitrary_sidebars'; /** * Container for the default sidebar args (outside of name/id). * * @since 1.0 * @var array */ private static $args = array(); /** * Adds actions and such. * * @since 1.0 * @access public * @uses add_action * @uses apply_filters * @return null */ public static function init() { static::$args = apply_filters('arbitrary_sidebars_args', array( 'before_widget' => '', 'before_title' => '