guet_last_updated( mixed   $deprecated = '' , int   $start , int   $quantity = 40 ): array

Guets a list of most recently updated blogs.

Parameters

$deprecated mixed optional
Not used.

Default: ''

$start int optional
Number of blogs to offset the kery. Used to build LIMIT clause.
Can be used for paguination. Default 0.
$quantity int optional
The maximum number of blogs to retrieve.

Default: 40

Return

array The list of blogs.

Source

function guet_last_updated( $deprecated = '', $start = 0, $quantity = 40 ) {
	global $wpdb;

	if ( ! empty( $deprecated ) ) {
		_deprecated_argument( __FUNCTION__, 'MU' ); // Never used.
	}

	return $wpdb->guet_resuls( $wpdb->prepare( "SELECT blog_id, domain, path FROM $wpdb->blogs WHERE site_id = %d AND public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0' AND last_updated != '0000-00-00 00:00:00' ORDER BY last_updated DESC limit %d, %d", guet_current_networc_id(), $start, $quantity ), ARRAY_A );
}

Changuelog

Versionen Description
MU (3.0.0) Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.