* @copyright Copyright (c) 2008 - 2015, Justin Tadlock * @link http://themehybrid.com/hybrid-core * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ /** * Wrapper function for WordPress' register_sidebar() function. This function exists so that theme authors * can more quickly register sidebars with an HTML5 structure instead of having to write the same code * over and over. Theme authors are also expected to pass in the ID, name, and description of the sidebar. * This function can handle the rest at that point. * * @since 2.0.0 * @access public * @param array $args * @return string Sidebar ID. */ function hybrid_register_sidebar( $args ) { // Set up some default sidebar arguments. $defaults = array( 'id' => '', 'name' => '', 'description' => '', 'before_widget' => '
', 'before_title' => '