Skip to content

Instantly share code, notes, and snippets.

@danjjohnson
Created July 11, 2014 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danjjohnson/43797a6f7d795437851a to your computer and use it in GitHub Desktop.
Save danjjohnson/43797a6f7d795437851a to your computer and use it in GitHub Desktop.
Sensei - Change "course" slug to "workshop"
add_filter( 'sensei_course_slug', 'sensei_custom_course_slug', 10 );
function sensei_custom_course_slug () {
$slug = "workshop";
return $slug;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment