Quote:
Originally Posted by Brujah
going to give it a shot writing it myself
|
look into the the following actions, to hook your create thread function into.
Code:
function create_thread() {
// blah blah do it here
}
add_action('wp_insert_post', 'create_thread');
add_action('new_to_publish' , 'create_thread);
add_action('draft_to_publish' , 'create_thread');
add_action('private_to_publish', 'create_thread');
add_action('xmlrpc_publish_post', 'create_thread');
add_action('publish_phone', 'create_thread');
add_action('publish_post', 'create_thread'); // this one would be the main one to hook into