aam_react_term_access_bootstrap_filter
Purpose
Change term access UI bootstrap data.
Callback
- Type: Filter.
- Arguments:
$bootstrap. - Return: the filtered first argument.
Example
add_filter('aam_react_term_access_bootstrap_filter', function ($bootstrap) {
$bootstrap['myapp'] = ['enabled' => true];
return $bootstrap;
}, 10, 1);
Makes an integration flag available to the term access UI.
See the complete hook list.