'',
'name' => '',
'description' => '',
'before_widget' => '',
'before_title' => '
'
);
/* Allow developers to filter the default sidebar arguments. */
$defaults = apply_filters( 'hoot_sidebar_defaults', $defaults );
/* Parse the arguments. */
$args = wp_parse_args( $args, $defaults );
/* Allow developers to filter the sidebar arguments. */
$args = apply_filters( 'hoot_sidebar_args', $args );
/* Remove action. */
remove_action( 'widgets_init', '__return_false', 95 );
/* Register the sidebar. */
return register_sidebar( $args );
}
/* Compatibility for when a theme doesn't register any sidebars. */
add_action( 'widgets_init', '__return_false', 95 );