Skip to content

Instantly share code, notes, and snippets.

@pije76
Forked from JiveDig/edd_download_slug.php
Created July 9, 2019 00:22
Show Gist options
  • Save pije76/7e3cd89f57810ccfc1154f210b2a142e to your computer and use it in GitHub Desktop.
Save pije76/7e3cd89f57810ccfc1154f210b2a142e to your computer and use it in GitHub Desktop.
Change Easy Digital Downloads (EDD) 'download' slug to something else. Refresh permalinks after changing this.
// Change 'download' slug to something else
define('EDD_SLUG', 'books');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment