wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_sitemaps_get_max_urls › WordPress Function
Seit5.5.0
Veraltetn/v
› wp_sitemaps_get_max_urls ( $object_type )
| Parameter: |
|
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Gets the maximum number of URLs for a sitemap.
Ähnliche Funktionen: wp_sitemaps_get_server, get_sitemap_url, wp_reset_vars, wp_script_modules, rest_get_avatar_urls
Quellcode
function wp_sitemaps_get_max_urls( $object_type ) {
/**
* Filters the maximum number of URLs displayed on a sitemap.
*
* @since 5.5.0
*
* @param int $max_urls The maximum number of URLs included in a sitemap. Default 2000.
* @param string $object_type Object type for sitemap to be filtered (e.g. 'post', 'term', 'user').
*/
return apply_filters( 'wp_sitemaps_max_urls', 2000, $object_type );
}