Méthode |
Description |
|
action_generate ( ) |
Generates full sitemaps for the site. |
|
action_generate_from_latest ( ) |
Generates sitemaps from the latest posts. |
|
action_halt ( ) |
Halts sitemap generation on the next cron run. Saves current position for resuming. |
|
action_reset_data ( ) |
Resets sitemap data and prints out a message to the user. |
|
add_actions ( array $actions ) : array |
Adds the builder cron actions to the sitemaps admin page. |
|
find_next_day_to_process ( integer $year, integer $month, integer $day ) : void, |
Find the next day with posts to process |
|
generate_full_sitemap ( ) |
Generate full sitemap |
|
generate_sitemap_for_year ( mixed[] $args ) |
Generate sitemap for a given year |
|
generate_sitemap_for_year_month ( mixed[] $args ) |
Generate sitemap for a given month in a given year |
|
generate_sitemap_for_year_month_day ( mixed[] $args ) |
Generate sitemap for a given year, month, day |
|
reset_sitemap_data ( ) |
Reset sitemap options |
|
schedule_sitemap_update_for_year_month_date ( $date, $time ) |
|
|
setup ( ) |
|
|
sitemap_create_status ( string $status ) : string |
Adds the "Halting" sitemap create status as this status is specific to the
builder cron. |
|