I currently have a custom meta field for adding a video url to the post. I’d like for the existing taxonomy term “video” to be automatically assigned to the post upon saving if the meta field has any value.
1 comment
Comments are closed.
I currently have a custom meta field for adding a video url to the post. I’d like for the existing taxonomy term “video” to be automatically assigned to the post upon saving if the meta field has any value.
Comments are closed.
You should hook onto the save_post action.