Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Plugin Name: A-Z the Tags
Description: Alphabetize the list of tag links
Version: 1.0
Plugin URL:
add_filter( 'term_links-post_tag', 'aztt_sort_tags_alphabetically' );
function aztt_sort_tags_alphabetically( $tags ){
natcasesort( $tags );
return $tags;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.