Set default (auto) slug prefix for Tags
You can use the created_term or the created_{taxonomy} hooks which are fired just after a taxonomy term is created (the second only if it matches the taxonomy). The following will only alter terms in the taxonomy ‘my-taxonomy’. (I believe for the default tags, taxonomy should be ‘post_tag’). add_action(‘created_term’, ‘my_add_prefix_to_term’, 10, 3); function my_add_prefix_to_term( $term_id,$tt_id,$taxonomy ) … Read more