aam_service_list_filter

Purpose

Change service entries displayed in AAM settings.

Callback

Example

add_filter('aam_service_list_filter', function ($services) {
    $services[] = [
        'title' => 'MyApp checks',
        'description' => 'Enable MyApp access checks.',
        'setting' => 'myapp.checks.enabled',
        'status' => (bool) get_option('myapp_checks_enabled'),
    ];
    return $services;
}, 10, 1);

Adds a service card with the fields AAM expects in its settings list. Wire the setting to your own persistence logic.

See the complete hook list.