[wp-hackers] WPMU: choose which blog to create a new post in - wp_insert_post()
dragonfly at dragonflyeye.net
Mon Dec 7 20:49:38 UTC 2009
Check "switch_to_blog" and "restore_current_blog" for details.
On Mon, Dec 7, 2009 at 3:46 PM, Alex Hempton-Smith <
hempsworth at googlemail.com> wrote:
> Hi all,
> For a WPMU plugin I'm developing I need to create a post in a specific blog
> using the *wp_insert_post()* function.
> I.e. whilst I'm browsing another blog I should be able to hit a button and
> post is created on another one. How would I go about this?
> -- Alex (Hempsworth)
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers