Summery Summery

Update a blog’s post count.

Syntax Syntax

update_posts_count( string $deprecated = '' )

Description Description

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_site(). This function is called when posts are published or unpublished to make sure the count stays current.

Parameters Parameters


(string) (Optional) Not used.

Default value: ''

Source Source

File: wp-includes/ms-functions.php

function check_upload_mimes( $mimes ) {
	$site_exts  = explode( ' ', get_site_option( 'upload_filetypes', 'jpg jpeg png gif' ) );
	$site_mimes = array();


Changelog Changelog

Version Description
MU (3.0.0) Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.