apply_filters( 'ep_admin_bar_status_and_summary', $status_and_summary, $results, $queries, $has_main_query, $is_main_query_success ) → {array}
Filter whether to display the admin bar status.
Parameters:
| Name | Type | Description |
|---|---|---|
$status_and_summary |
array | CSS class of status indicator. (success, warning, or error) |
$results |
array | Array of results to display in the admin bar. |
$queries |
array | Array of filtered and failed queries. |
$has_main_query |
bool | Whether the main query was integrated with Elasticsearch. |
$is_main_query_success |
bool | Whether the main query is successful. |
- Since:
- 5.3.0
- Source:
Returns:
New status value
- Type
- array