[wp-hackers] Odd wp_insert_post hook behavior MU 2.9.1.1

scribu scribu at gmail.com
Thu Apr 1 00:59:47 UTC 2010


To access the $post parameter, you need to write:

add_action( 'wp_insert_post', array(&$fu, 'cache_activity_post'), 10, 2);

where 10 is the (default) priority and 2 is the arg count.


More information about the wp-hackers mailing list