Hook a function to run after save post is finished running
-
This can be a wiered question. So teh scenario is:
– I am saving bunch of post meta ( say 10 fields ) in my custom post type.
– Now I want to hook my function to run on update post button but the catch is:
— My function need the post meta value i just entered in my post to calculate and return value which will also be saved in 11th post meta field.what should be the best way: ajax or can i make this function to run once post meta is saved.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hook a function to run after save post is finished running’ is closed to new replies.