Hi @nreljed,
I’m sorry to inform you that Permalink Manager does not currently support the custom hooks used by JetFormBuilder to create and update post items.
JetFormBuilder has a special way of saving and processing new post items, but it doesn’t have a built-in callback hook that Permalink Manager can use to hook into this process. This means that I can’t currently get the two plugins to work together :/
However, there is a workaround that you can try. You can add a custom callback function similar to the example provided in this link:
https://ww.wp.xz.cn/support/topic/call-a-custom-hook/
This should allow you to use Permalink Manager’s API with JetFormBuilder:
https://permalinkmanager.pro/docs/filters-hooks/update-permalinks-programatically/
The other idea could be to force Permalink Manager to regenerate the custom permalink unconditionally whenever the wp_insert_post() function is called:
https://pastebin.com/vnVJYV99
Thread Starter
neosan
(@nreljed)
Hi @mbis
I notified the devs behind jetformbuilder on github and the request was considered in the listing. we can soon hope for a hook or a code refinement update at plugin level to make compatibility possible between the two by default
I hope so 🤞</img>
Hi @nreljed
Perfect! If they make it, it will help not only to integrate my plugin but also the functions of third-party plugins.