[wp-hackers] Stopping recursion with save_post/wp_insert_post action

Mark E mark at simplercomputing.net
Sat Aug 21 04:15:05 UTC 2010



On 08/20/2010 10:01 PM, ProDevStudio wrote:
> I am calling wp_insert_post again to place a media attachment.

You might look at wp_insert_attachment()

Mark


More information about the wp-hackers mailing list