// Add “All Categories” to categories widget
function add_all_categories_to_widget($cat_args) {
$cat_args[‘show_option_all’] = ‘All’;
return $cat_args;
}
add_filter(‘widget_categories_args’, ‘add_all_categories_to_widget’);

Leave a Reply

Your email address will not be published. Required fields are marked *