_get_cron_lock [ WordPress Function ]
_get_cron_lock ( No parameters )
| Defined at: |
|
Benzer Fonksiyonlar: _get_cron_array, wp_set_post_lock, get_comment_link, get_comments_link, get_role
No description yet.
Source
<?php
function _get_cron_lock() {
global $_wp_using_ext_object_cache, $wpdb;
$value = 0;
if ( $_wp_using_ext_object_cache ) {
// Skip local cache and force refetch of doing_cron transient in case
// another processs updated the cache
$value = wp_cache_get( 'doing_cron', 'transient', true );
} else {
$row = $wpdb->get_row( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1", '_transient_doing_cron' ) );
if ( is_object( $row ) )
$value = $row->option_value;
}
return $value;
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Docs for page wp-cron.php
Description | Includes | Constants | Functions. _get_cron_lock (line 30). void _get_cron_lock (). Documentation generated on Fri, 11 May 2012 23:17:52 + 0000 ...
phpdoc.wordpress.org - _get_cron_lock (WordPress Function) - WPSeek.com
WordPress lookup for _get_cron_lock, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - PHPXRef 0.7 : WordPress : /wp-cron.php source
wp-load.php'); 27 } 28 29 // Uncached doing_cron transient fetch 30 function _get_cron_lock() { 31 global $_wp_using_ext_object_cache, $wpdb; 32 33 $ value ...
phpxref.ftwr.co.uk - WordPress 3.4-beta1 » WordPress
Retrieve cron info array option. _get_cron_array; _get_cron_lock() _get_cron_lock; Retrieve ids that are not already present in the cache _get_non_cached_ids ...
docs.garyjones.co.uk