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

Azizur Rahman prodevstudio+wordpress at gmail.com
Sat Aug 21 04:21:56 UTC 2010

My media attachments are not a file they are simply an url to file on
another server which end user does not know the full path.

I have got it working by removing the hook before calling it again.

Thank you all for your help.

Kind Regards,
Azizur Rahman

On Sat, Aug 21, 2010 at 5:15 AM, Mark E <mark at simplercomputing.net> wrote:

> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list