You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for you plugin - it's very handy when using Gatsby and Redirection!
I am looking into a way of triggering a new Gatsby build when there is a new/changed/removed redirection. I have not seen any option in the Redirection plugin itself, but was wondering if it's possible to trigger the webhook somewhere else - maybe in the functions file?
The text was updated successfully, but these errors were encountered:
It's been a long time after you open the issue and probably you already figured out the solution but I would like to leave a hint for others requiring the same feature.
It is possible to trigger your custom webhook by injecting a function into "redirection_redirect_updated" action (by using WP's add_action). Within this function you may use WP's wp_remote_post() or wp_remote_get() functions to send a request to remote webhook.
Thank you for you plugin - it's very handy when using Gatsby and Redirection!
I am looking into a way of triggering a new Gatsby build when there is a new/changed/removed redirection. I have not seen any option in the Redirection plugin itself, but was wondering if it's possible to trigger the webhook somewhere else - maybe in the functions file?
The text was updated successfully, but these errors were encountered: