Skip to content

Move away from local usePostMeta hook #225

@mogmarsh

Description

@mogmarsh

Description

Move away from local usePostMeta script to block-editor-tools - ideally switch to usePostMetaValue as well.
I tried this and got an error TypeError: Cannot read properties of undefined (reading 'useEntityId') - which may be related to getting the post type or the post id. Perhaps passing the id will fix that.

Use Case

reduce any code duplication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions