Skip to content

Instantly share code, notes, and snippets.

@pippinsplugins
Created June 15, 2012 02:03
Show Gist options
  • Select an option

  • Save pippinsplugins/2934278 to your computer and use it in GitHub Desktop.

Select an option

Save pippinsplugins/2934278 to your computer and use it in GitHub Desktop.
Change EDD Download Labels Globally
<?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');
@pippinsplugins
Copy link
Author

This snippet will change the "Download" and "Downloads" label globally throughout the entire Easy Digital Downloads plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment