aam_policy_token_value_filter

Purpose

The current core and premium source do not emit aam_policy_token_value_filter. Use aam_policy_marker_value_filter to supply a custom marker value.

Callback

Example

add_filter('aam_policy_marker_value_filter', function ($value, $type, $key, $args) {
    return $type === 'myapp' && $key === 'region' ? get_option('myapp_region') : $value;
}, 10, 4);

This resolves a myapp:region marker. The old hook name would never run in the current implementation.

See the complete hook list.