WordPress Snippets at WPcustoms

Rename easy digital downloads product label

rename EDD ‘Downloads’ to something different.


/**
 * Snippet Name: Rename easy digital downloads product label
 * Snippet URL: http://www.wpcustoms.net/snippets/rename-easy-digital-downloads-product-label/
 */
 function wpc_edd_product_labels( $labels ) {
  $labels = array(
     'singular' => 'Service',
     'plural' => 'Services'
  );
  return $labels;
}
add_filter('edd_default_downloads_name', 'wpc_edd_product_labels');