You appear to be a bot. Output may be restricted
Description
Callback for adding sitemap-interval to the list of schedules.
Usage
$array = Jetpack_Sitemap_Manager::callback_add_sitemap_schedule( $schedules );
Parameters
- $schedules
- ( array ) required – The array of WP_Cron schedules.
Returns
array The updated array of WP_Cron schedules.
Source
File name: jetpack/modules/sitemaps/sitemaps.php
Lines:
1 to 8 of 8
public function callback_add_sitemap_schedule( $schedules ) { $schedules['sitemap-interval'] = array( 'interval' => JP_SITEMAP_INTERVAL, 'display' => __( 'Sitemap Interval', 'jetpack' ), ); return $schedules; }