Support » Plugin: WP Webhooks » Extend sent data

  • tavolate

    (@tavolate)


    Hello there,

    I would like to know if it’s possible to extend the sent data.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Ironikus

    (@ironikus)

    Hey @tavolate – thanks for your message!
    Yes, you can extend the data that is sent.

    The possibilities you have is to use a filter:
    We offer a filter that allows you to manipulate the HTTP arguments that are used to post the data to the specified webhook. This filter is mentioned here: https://ironikus.com/docs/knowledge-base/webhook-http-arguments-send-data/

    The filter returns an array, which also contains the data itself. You will find the data within the “body” key.
    Depending on the content type you use to send, you may need to format that value again before you can use it.
    For example: If your data gets sent as XML, you have do convert it first to the type you need and then use it.
    Don’t forget to format it after again to the specified content type.
    In case you need more details, feel free to reach out!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.