graphql_add_admin_notice
apply_filters( 'graphql_add_admin_notice', $config, $slug );
Pass the notice through a filter before registering it
- Type: filter
- Group: Settings and Admin
- Since: v1.21.0
- Source File:
plugins/wp-graphql/src/Admin/AdminNotices.php
Parameters
$config(AdminNoticeConfig): The config of the admin notice$slug(string): The slug identifying the admin notice
Source
apply_filters( 'graphql_add_admin_notice', $config, $slug );
Related
AdminNotices::add_admin_notice()inplugins/wp-graphql/src/Admin/AdminNotices.php:169