Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52727


Ignore:
Timestamp:
03/05/2021 07:01:35 PM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52727 – Description

    initial v1  
    22
    33I use this custom made code:
    4 
     4{{{
    55add_filter( 'wp_sitemaps_max_urls', 'filter_function_name_9755', 10, 2 );
    66function filter_function_name_9755( $max_urls, $object_type ){
     
    1010}
    1111return apply_filters( 'wp_sitemaps_max_urls', 1000, $object_type );
    12 
     12}}}
    1313But nothing happens. In fact, it messes up the entire sitemap.