[wp-trac] [WordPress Trac] #54463: Need 'wp_sitemaps_{provider}_url_list' filter for caching.

WordPress Trac noreply at wordpress.org
Wed Nov 17 19:12:43 UTC 2021


#54463: Need 'wp_sitemaps_{provider}_url_list' filter for caching.
-------------------------+-----------------------------
 Reporter:  jsmoriss     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Sitemaps     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Currently, there is a `wp_sitemaps_posts_pre_url_list` filter, which can
 be used to build a custom URL list or **retrieve it from cache**, but
 there is no filter that would allow us to filter the default URL list or
 save it to cache.

 Before returning from `get_url_list()`, it would be great to have a
 `wp_sitemaps_posts_url_list` filter, which would allow us to filter the
 default URL list or **save it to cache**.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54463>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list