Disable the preview as students feature in Sensei LMS

Disable the preview as students feature in Sensei LMS on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'sensei_feature_preview_students', '__return_false' );