You appear to be a bot. Output may be restricted
Description
Read the stored sitemap state. Returns false if the state is locked.
Usage
$bool|array = Jetpack_Sitemap_State::check_out();
Parameters
Returns
bool|array $args {
Source
File name: jetpack/modules/sitemaps/sitemap-state.php
Lines:
1 to 11 of 11
public static function check_out() { // See if the state is locked. if ( true === get_transient( 'jetpack-sitemap-state-lock' ) ) { // If it is, return false. return false; } else { // Otherwise, lock the state for 15 minutes and then return it. set_transient( 'jetpack-sitemap-state-lock', true, JP_SITEMAP_LOCK_INTERVAL ); return get_option( 'jetpack-sitemap-state', self::initial() ); } }