apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', int $max_num_pages, string $taxonomy )

Filters the max number of pages before it is generated.


Description Description

Passing a non-null value will short-circuit the generation, returning that value instead.


Top ↑

Parameters Parameters

$max_num_pages

(int) The maximum number of pages. Default null.

$taxonomy

(string) Taxonomy name.


Top ↑

Source Source

File: wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.