Disable Print in Unit

Below tip disables the print button in Unit in courses.

Note this only disables the inbuilt print, the user can always use the browser print or take  a screenshot and print it.


Was this article helpful?

Related Articles


  1. jango87

    Hello vibe themes, is there any way to prevent users from taking screen shots of units and quiz? Because we dont want our users to take screen shots of materials and share them.

  2. I have 2 code suggestuions.

    //return empty string in one line
    add_filter('wplms_unit_print_button','__return_empty_string', 1);

    Option 2 remove hook
    //remove hook why to filter
    add_action( 'after_setup_theme', function(){
    remove_action('wplms_course_unit_meta',array( WPLMS_Actions::init(),'vibe_custom_print_button'));

Leave A Comment?