This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Content_Protection::current_user_privileges( array $settings )

Check current user role exists inside of the roles array.


Parameters

$settings

(Required) Current widget settings.


Return

(bool)


Source

File: includes/modules/elementor_booster/extensions/content_protection.php