Tag Archives: codex

update_posts_count

Update a blog’s post count.WordPress MS stores a blog’s post count as an option so as to avoid extraneous COUNTs when a blog’s details are fetched with get_blog_details(). This function is called when posts are published to make sure the count stays current.

3193

Continue reading

update_option

Update the value of an option that was already added.You do not need to serialize values. If the value needs to be serialized, then it will be serialized before it is inserted into the database. Remember, resources can not be serialized or added as an option.

3185

Continue reading

update_comment_meta

Update comment meta field based on comment ID.Use the $prev_value parameter to differentiate between meta fields with the same key and comment ID.

3167

Continue reading