Filters the list of classes that are registered as GraphQL Types.
Possible type
values are connection
, enum
, field
, input
, interface
, mutation
and object
.
apply_filters( 'graphql_seo_registered_connection_classes', $classes );
apply_filters( 'graphql_seo_registered_enum_classes', $classes );
apply_filters( 'graphql_seo_registered_field_classes', $classes );
apply_filters( 'graphql_seo_registered_input_classes', $classes );
apply_filters( 'graphql_seo_registered_interface_classes', $classes );
apply_filters( 'graphql_seo_registered_mutation_classes', $classes );
apply_filters( 'graphql_seo_registered_object_classes', $classes );
$classes
(array) : The list of PHP classes that are registered as GraphQL Types. These classes must extend theWPGraphQL\Seo\Vendor\AxeWP\GraphQL\Interfaces\GraphQLType
interface.
Filters the SEO model clas used for a given GraphQL Node
.
This is useful for adding support for your own SEO
model.
apply_filters( 'graphql_seo_resolved_model', $seo_model, $node_model );
$seo_model
(?WPGraphQL\Seo\Model\Seo) : The SEO model class to use. This class must extend theWPGraphQL\Seo\Model\Seo
class.$node_model
(WPGraphQL\Model\Model) : The Modeled GraphQL object that needs its SEO model class resolved.
Filters the GraphQL object type name that should be used by the given SEO model.
apply_filters( 'gaphql_seo_resolved_type_name', $type_name, $model );
$type_name
(string) : The GraphQL object type name that should be used by the given SEO model.$model
(WPGraphQL\Model\Model) : The SEO model that needs its GraphQL object type name resolved. This should (but does not have to) extend theWPGraphQL\Seo\Model\Seo
class.