Returns the array of $allowed_taxonomies
apply_filters( 'graphql_term_entities_allowed_taxonomies', array $allowed_taxonomies );
Params
- $allowed_taxonomies (array): Array of allowed taxonomies
Returns the array of $allowed_taxonomies
apply_filters( 'graphql_term_entities_allowed_taxonomies', array $allowed_taxonomies );
Define the $allowed_post_types to be exposed by GraphQL Queries Pass through a filter to allow the post_types to be modified (for example if a certain post_type should not be exposed to the GraphQL API)
apply_filters( 'graphql_post_entities_allowed_post_types', array $post_types );
This filter can be used to disable or enable the GraphQL Admin pages with code.
If the admin pages have been de-activated from the Settings UI, the only way to re-enable to Settings pages is by using this filter.
apply_filters( 'graphql_show_admin', bool $enabled );