Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm looking for a list of action tags that are relevant when you:

  • create a post, with any method, so basically using wp_insert_post
  • modify a post, like changing status, title, content, terms, meta, anything related to it;
  • remove a post

Are save_post and deleted_post enough for this kind of thing?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, 'save_post' and 'delete_post' cover everything, except modifying meta and terms associated to a post. Those hooks can be found in wp-includes: meta.php and taxonomy.php, respectively.

share|improve this answer
    
so the other ones would be: added_post_meta, updated_post_meta, deleted_post_meta and added_term_relationship, deleted_term_relationships ? –  onetrickpony Jul 30 '11 at 13:39
    
@One Trick Pony: Yep. –  scribu Jul 30 '11 at 14:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.