graphql_resolve_revision_meta_from_parent

Filters whether to resolve revision metadata from the parent node by default.

apply_filters( 'graphql_resolve_revision_meta_from_parent', bool $should, int $object_id, string $meta_key, bool $single );

Params

  • $should (bool): Whether to resolve using the parent object. Default true.
  • $object_id (int): The ID of the object to resolve meta for
  • $meta_key (string): The key for the meta to resolve
  • $single (bool): Whether a single value should be returned