wpce_is_developer v3.30.6
Filters whether the current user is a WPCE developer.
Parameters
bool $is_developerWhether the current user is a WPCE developer.
int $user_idThe ID of the checked user.
Example
php
add_filter('wpce_is_developer', function (bool $is_developer, int $user_id) {
return $is_developer || user_can($user_id, 'manage_options');
}, 10, 2);