Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category Details in Hook Body #18

Open
royzer opened this issue Nov 26, 2016 · 2 comments
Open

Category Details in Hook Body #18

royzer opened this issue Nov 26, 2016 · 2 comments

Comments

@royzer
Copy link

royzer commented Nov 26, 2016

Hi,

Thanks for this plugin - I can now extend Wordpress for my requirement.

I seems to have one problem though - I have created 3 webhooks for create, edit & delete categories (create_category, edit_category, delete_category). The webhooks are fired correctly - but the data inside the Body seems to have only the hook name. Other details are missing. I tried selecting all fields/few fields/ID field alone for the webhook - nothing seem to work.

Request bin link to view the payload : http://requestb.in/ryja6wry?inspect

Also, attaching the screenshot of the hook, for reference.

hookpress_category

Would be great if I could get any help on this. Even if I get the category ID, that would be fine.

@mikemenard
Copy link

mikemenard commented Dec 24, 2016

Same issue. Have you find a solution?

@mikemenard
Copy link

I have found the problems. The hook have change. U need to use created_{$taxonomy} and edited_{$taxonomy}. Like created_category or created_post_tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants