Created
June 15, 2012 02:03
-
-
Save pippinsplugins/2934278 to your computer and use it in GitHub Desktop.
Change EDD Download Labels Globally
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
| <?php | |
| function pw_edd_global_labels($labels) { | |
| $labels = array( | |
| 'singular' => __('Singular Label','edd'), | |
| 'plural' => __('Plural Label','edd') | |
| ); | |
| return $labels; | |
| } | |
| add_filter('edd_default_downloads_name', 'pw_edd_global_labels'); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This snippet will change the "Download" and "Downloads" label globally throughout the entire Easy Digital Downloads plugin.