Help
-
Hi
I am trying to hide course syllabus, sot that syllabus is not visible when you go to see course details. I have tried lifterlms labs, tried entering PHP codes into functions.php and I tried with lifterlms customization plugin and nothing works for me.
code I entered into functions.php :
remove_action( ‘lifterlms_single_course_after_summary’, ‘lifterlms_template_single_syllabus’, 90 );
that didn’t help so I tried this
function my_late_init() {
remove_action( ‘lifterlms_single_course_after_summary’, ‘lifterlms_template_single_syllabus’, 90 );
}
add_action( ‘init’, ‘my_late_init’, 15 );function llms_remove_actions() {
remove_action( ‘lifterlms_single_course_after_summary’, ‘lifterlms_template_single_syllabus’, 90 );
}
add_action( ‘plugins_loaded’, ‘llms_remove_actions’, 777 );and that wasn’t working either.
- The topic ‘Help’ is closed to new replies.