Actions: can’t find them all in the codex
-
I’m looking through other plugins to help understand how to use actions but some of them I can’t find in the codex.
In Twitter Tools, the following actions are used and I think I might need to use them in the same way but there is no documentation of them. The actions are draft_post, publish_post, save_post. I can assume what they do but it’d be nice to see something from the codex.
// This is how he uses them in the plugin for Twitter Tools add_action('draft_post', 'aktt_store_post_options', 1, 2); add_action('publish_post', 'aktt_store_post_options', 1, 2); add_action('save_post', 'aktt_store_post_options', 1, 2);
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Actions: can’t find them all in the codex’ is closed to new replies.