aam_security_audit_checks_filter

Purpose

Add or change security audit check definitions.

Callback

Example

add_filter('aam_security_audit_checks_filter', function ($checks) {
    uasort($checks, function ($a, $b) {
        return strcmp($a['title'], $b['title']);
    });
    return $checks;
}, 10, 1);

Sorts audit steps by title without removing a check or changing its definition.

See the complete hook list.