Extract content_filter settings from roles and set them to function