aam_user_instantiated_action

Purpose

Run after a user access level is instantiated.

Callback

Example

add_action('aam_user_instantiated_action', function ($level) {
    error_log('AAM access level initialized: ' . get_class($level));
}, 10, 1);

Runs after the access-level object is created. Replace the log call with initialization code when needed.

See the complete hook list.