Created
September 28, 2017 23:44
-
-
Save thomasplevy/9aa39925892e9d76b49c5b8cffcccde9 to your computer and use it in GitHub Desktop.
enable revisions on LifterLMS lessons
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 to your functions.php file | |
function my_llms_lesson_reg_stuff( $args ) { | |
$args['supports'][] = 'revisions'; | |
return $args; | |
} | |
add_filter( 'lifterlms_register_post_type_lesson', 'my_llms_lesson_reg_stuff' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment