get_last_updated

Advertisement

Summery Summery

Get a list of most recently updated blogs.

Syntax Syntax

get_last_updated( mixed $deprecated = '', int $start, int $quantity = 40 )

Parameters Parameters

$deprecated

(Optional) Not used.

Default value: ''

$start

(Optional) Number of blogs to offset the query. Used to build LIMIT clause. Can be used for pagination. Default 0.

$quantity

(Optional) The maximum number of blogs to retrieve.

Default value: 40

Return Return

(array) The list of blogs.

Source Source

File: wp-includes/ms-blogs.php

		return $details->$pref;
	}

	return $wpdb->get_var( $wpdb->prepare( "SELECT %s FROM {$wpdb->blogs} WHERE blog_id = %d", $pref, $id ) );
}

/**
 * Get a list of most recently updated blogs.
 *

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply