Last active
July 24, 2018 23:03
-
-
Save jordymeow/81562504652f2b0cfdc1c0a99cb94e05 to your computer and use it in GitHub Desktop.
Media File Renamer: Replace characters or strings
This file contains hidden or 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
add_filter( 'mfrh_replace_rules', 'mfrh_replace_rules', 10, 1 ); | |
function replace_s_by_z( $rules ) { | |
$rules['s'] = 'z'; | |
return $rules; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment