Function: _wp_filter_taxonomy_base

_wp_filter_taxonomy_base( string $base )

Filters the URL base for taxonomies.

Shortcut: wftb

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.

To remove any manually prepended /index.php/.


Name Type(s) Default Value Description
$base string

The taxonomy base that we're going to filter



WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.