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

Provide a filter to allow modifying the notified post format #4

Open
medfreeman opened this issue Jan 12, 2017 · 1 comment
Open

Provide a filter to allow modifying the notified post format #4

medfreeman opened this issue Jan 12, 2017 · 1 comment

Comments

@medfreeman
Copy link

I'd have a need for the post format to be modified prior to notification.
I have to add specific metadata that obviously can't be added atm (or here, but the body key value has to be json_decoded and re-encoded).

That would imply wrapping these lines in a filter call.
It should provide the post ID or object, and the actual array.
A good name could be 'jras_notification_format_post' ?

or could i use standard rest api hooks ? It seems not but i don't have an extensive knowledge of the API atm.

@tlovett1
Copy link
Owner

Filter PR would be fine.

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