wpwhpro/run/delete_action_user_admins
Description:
This filter allows you to delete even administrator accounts. By default it is deactivated to provide you the best security possible.
Parameter | Type | Description |
---|---|---|
false | bool | True if you want to delete administrators as well. |
/** * Activate the deletion of users that have the administrator role. Default: false */ $delete_administrators = apply_filters( 'wpwhpro/run/delete_action_user_admins', false );