Homepage
Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org

graphql_init_settings

Action that fires when settings are being initialized

Params

  • $registry (WPGraphQL\Admin\Settings\SettingsRegistry): The instance of the SettingsRegistry class

Source

File: wp-graphql/src/Admin/Settings/SettingsRegistry.php

Examples

Registers a GraphQL Settings Section

Registers a GraphQL Settings Field