Home › Forums › Legacy Support › 4.0 Bugs & Issues › Hide unit attachment in 4.0
Tagged: hide unit attachments
- This topic has 3 replies, 3 voices, and was last updated 3 years, 7 months ago by Veronica.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
September 7, 2020 at 2:13 pm #301477shynkarykParticipantAfter 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?September 8, 2020 at 5:30 am #301591DianaParticipantYes, 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;}September 8, 2020 at 7:00 pm #301801shynkarykParticipantThank you for the help! It work's! You can close this topic :)September 9, 2020 at 4:52 am #301870VeronicaModeratortopic closed
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘Hide unit attachment in 4.0’ is closed to new replies.