0
votes
1answer
20 views

How to disable saving/changing update date for certain admin users?

I have an admin user who is only for correcting the spelling errors and grammar stuff, however, when he corrects some post that is several hours or days old and just changes "People are gready" to ...
0
votes
0answers
150 views

wp_update_post post_content not being updated accordingly

I have a function that is hooked into save_post, which updates / creates a product in Woo Commerce according to the creation / updating of a custom post type (video). The creation works fine and so ...
0
votes
2answers
234 views

Adding action to save_post, post needs to be saved twice for function to work

I have written the following function which copies all post terms from the "tribe_events_cat" taxonomy to the "categoria" taxonomy when the post is saved. There is a bug where in order for the terms ...