wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
get_last_updated › WordPress Function
Seit
Veraltetn/v
› get_last_updated ( $deprecated = '', $start = 0, $quantity = 40 )
Parameter: (3) |
|
Gibt zurück: |
|
Definiert in: |
|
Codex: | |
Changelog: |
|
Gets a list of most recently updated blogs.
Ähnliche Funktionen: get_lastpostdate, get_theme_updates, get_plugin_updates, get_the_date, get_core_updates
Quellcode
function get_last_updated( $deprecated = '', $start = 0, $quantity = 40 ) { global $wpdb; if ( ! empty( $deprecated ) ) { _deprecated_argument( __FUNCTION__, 'MU' ); // Never used. } return $wpdb->get_results( $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", get_current_network_id(), $start, $quantity ), ARRAY_A ); }