get_last_updated [ WordPress Function ]
get_last_updated ( $deprecated = '', $start = 0, $quantity = 40 )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: get_lastpostdate, get_theme_updates, get_plugin_updates, get_the_date, _get_last_post_time
Get a list of most recently updated blogs.
Source
<?php
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", $wpdb->siteid, $start, $quantity ) , ARRAY_A );
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- WPMU Functions/get last updated « WordPress Codex
Description. Returns an array of arrays containing basic information about the most recently updated blogs on this WPMU install.
codex.wordpress.org - Function Reference/get last updated « WordPress Codex
Function Reference/get last updated ... Source File. get_last_updated() is located in wp-includes/ms-blogs.php. Retrieved from ...
codex.wordpress.org - get_last_updated() and get_most_active_blogs() returns 1 everytime
Hello, WPMU 2.7 I'm trying to iterate through a list on my home page so I can display recent posts. I have two blogs on my system. If I call ...
premium.wpmudev.org - get_last_updated (WordPress Function) - WPSeek.com
WordPress lookup for get_last_updated, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com