Skip to content

How can i use get_categories inside transition_post_status action? #18252

@yarovikov

Description

@yarovikov

Hi all.

I use wp 5.2.4.

I send email when new post.
How can i get cat_ID inside transition_post_status action?
This not work with gutenberg. With classic editor is ok.
How can this problem be solved?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] Help RequestHelp with setup, implementation, or "How do I?" questions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions