Created
February 5, 2014 14:16
-
-
Save sirviejo/8824440 to your computer and use it in GitHub Desktop.
Wordpress - wp_list_categories Remove title attributes without touching core files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$subcategories = wp_list_categories( $subcat_args ); | |
$subcategories = preg_replace('/title="([^"]+)"/', 'title=""', $subcategories); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment