• Hi there,

    I would like to be able to add and remove menu items withing my navigation using webhooks. Would this be possible with your plugin?

    Kind regards,

    Jan Pieters

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ironikus

    (@ironikus)

    Hi @jeanp – Thanks for reaching out, as well as for considering our plugin.
    By default, we do not have a predefined logic available, but you can make it work using our custom_action webhook action endpoint.
    It allows you to fire custom PHP code once your webhook arrives, which you can use to execute code that modifies the menu setup.
    Since in a lot of cases, the menu functionality is influenced by the given theme, providing a general logic wouldn’t be as efficient from our side.
    The endpoint is available within the free and pro version. ??
    You can also read more about it within the web view of our plugin: https://wp-webhooks.com/?wpwh=wp-webhooks-pro&wpwhtb=receive-data
    Do let me know if you have any further questions.

    Thread Starter JeanP

    (@jeanp)

    Great, thank you, I will use that custom_action to receive the data on my website.

    I have anonther question: I us the Integromat Automation to send the data. Will the data that is sent form Integromat to my website be encrypted by default or do I need to take extra actions within Integromat or the plugin?

    Thanks in advance!

    Plugin Contributor Ironikus

    (@ironikus)

    Hey @jeanp – Thank you for your answer.
    It depends how you look at the wehook. While the data itself is a simple JSON, the data isn’t protected itself, which is normal in most cases.
    What’s important is the way you host your website. If you use https, every call also uses the secured protocol to transfer the data.

    Thread Starter JeanP

    (@jeanp)

    Hi Ironikus, thank you for your answer.

    I am currently testing the create_post webhook action an succesfully created a post via webhook.

    Now I would like to edit the content of that post. Wich action can I use to update an existing post?

    Plugin Contributor Ironikus

    (@ironikus)

    Hey @jeanp – Thank you for your answer.
    To update a post within the free version, you would need to create your own custom code snippet with the custom_action webhook action.
    The pro version of our plugin includes a predefined webhook endpoint called update_post in case you do not want to write it yourself.

    To read more about the endpoint, you can take a look at the web view of the pro version of our plugin: https://wp-webhooks.com/pro/?wpwh=wp-webhooks-pro&wpwhtb=receive-data

    We also have a comparison table available in case you want to see the differences between the free and the pro version: https://ironikus.com/compare-wp-webhooks-pro/

    Feel free to reach out again in case you have any further questions. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Webhook to add, edit and delete Menu items’ is closed to new replies.