[wp-hackers] Plugin to update all posts in a category
Robert Deaton
false.hopes at gmail.com
Mon Feb 26 04:35:40 GMT 2007
On 2/25/07, Callum Macdonald <lists.automattic.com at callum-macdonald.com> wrote:
> G'day,
>
> 3) I plan to use a foreach loop to circle through each post and then use
> the update_post_meta() function. Any feedback on this approach would be
> great.
Depending on how many posts you plan to accommodate, it may (and I say
this with great hesitation) be better to roll your own custom query to
update a batch of posts at once, as writes are expensive and you may
easily stretch the time limit for loading a page. Just a thought.
--
--Robert Deaton
http://lushlab.com
More information about the wp-hackers
mailing list