Created
September 15, 2016 00:26
-
-
Save thomasplevy/b78714f43df2a368080d3a0cdb116c39 to your computer and use it in GitHub Desktop.
This file contains 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 // don't copy this line! | |
add_filter( 'lifterlms_register_post_type_course', 'my_custom_course_settings' ); | |
function my_custom_course_settings( $obj ) { | |
$obj['rewrite']['slug'] = _x( 'c', 'course link slug', 'my-text-domain' ); | |
return $obj; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment