Skip to content
New issue

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

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

Already on GitHub? # to your account

[FEATURE] Add create comment result filter #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chaoticbear
Copy link

Overview

The goal of this PR is to add filters to the create comment results. These filters can be used to modify the result sent via webhook.

Our use case

  • We're using wp-graphql as a backend for a mobile app
  • wp-webhooks allows us to send webhooks when comments are created

Filtering the post result allows us to send graphql IDs to the app to allow it to to look up the notification post and parent comment via our wp-graphql endpoint.

 * Add wpwhpro/webhooks/trigger_create_comment_results
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant