graphql_settings_review_show_invitation
apply_filters( 'graphql_settings_review_show_invitation', true );
Filters whether administrators are invited to the settings review with an admin notice. The notice shows until the settings review is completed or skipped, or until each user dismisses it. Return false to never show it, for example on sites whose settings are managed in code. The Review Settings menu item and the link on the Settings page are not affected. To record the review as done without visiting it, run wp graphql settings-review skip.
- Type: filter
- Group: Settings and Admin
- Since: 2.24.0
- Source File:
plugins/wp-graphql/src/Admin/SettingsReview/SettingsReview.php
Parameters
$show_invitation(bool): Whether to show the invitation notice. Default true.
Source
apply_filters( 'graphql_settings_review_show_invitation', true );
Related
SettingsReview::should_show_invitation()inplugins/wp-graphql/src/Admin/SettingsReview/SettingsReview.php:212