plugin development – How to hook a custom user function to a wordpress core ajax action?

Question

I need to call a 3rd party API when a permalink edit happens for a post.I found once an edit happens, it calls an ajax function with the core wp post action ‘sample-permalink’. How to hook my custom function after this call is successfully completed and how to get the post details in my custom function ? Any help would be much appreciated .

0
Exact Finder 3 weeks 2021-09-08T09:31:34-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse