graphql_admin_notices_render_notice

do_action( 'graphql_admin_notices_render_notice', $notice_slug, $notice, $is_dismissable, $count );

Fires for each admin notice that is rendered.

  • Type: action
  • Group: Settings and Admin
  • Since: v1.23.0
  • Source File: plugins/wp-graphql/src/Admin/AdminNotices.php

Parameters

  • $notice_slug (string): The slug of the notice
  • $notice (AdminNoticeConfig): The notice to be rendered
  • $is_dismissable (bool): Whether the notice is dismissable or not
  • $count (int): The count of the notice

Source

do_action( 'graphql_admin_notices_render_notice', $notice_slug, $notice, $is_dismissable, $count );