Hide unit attachment in 4.0

Home Forums Legacy Support 4.0 Bugs & Issues Hide unit attachment in 4.0

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #301477
    shynkaryk
    Participant
    After migrating to 4.0 this code in wplms-customizer does not help to hide images from unit as attachments: add_filter('wplms_unit_attachments','hide_unit_attachments',10,1); function hide_unit_attachments($flag){ return 0; } Upload images are shown as attachment in units: https://prnt.sc/ud2gl2 How can I hide it in 4.0?
    #301591
    Diana
    Participant
    Yes, the same code will not work for version 4 Instead use this custom css and hide the attachments .course_content_content .unit_attachments{display:none !important;}
    #301801
    shynkaryk
    Participant
    Thank you for the help! It work's! You can close this topic :)
    #301870
    Veronica
    Moderator
    topic closed
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide unit attachment in 4.0’ is closed to new replies.