tagsperpage filter-hookWP 2.7.0

Deprecated from version 2.8.0. It is no longer supported and can be removed in future releases. See edit_tags_per_page.

Deprecated: 2.8.0 Use {@see 'edit_tags_per_page'} instead.

Filters the number of terms displayed per page for the Tags list table.


add_filter( 'tagsperpage', 'wp_kama_tagsperpage_filter', 10, 2 );

 * Function for `tagsperpage` filter-hook.
 * @param int $tags_per_page Number of tags to be displayed.
 * @param     $string        
 * @return int
function wp_kama_tagsperpage_filter( $tags_per_page, $string ){

	// filter...
	return $tags_per_page;
Number of tags to be displayed.
Default: 20


Since 2.7.0 Introduced.
Deprecated Since 2.8.0 Use {@see 'edit_tags_per_page'} instead.

Where the hook is called

wp-admin/includes/class-wp-terms-list-table.php 102
$tags_per_page = apply_filters_deprecated( 'tagsperpage', array( $tags_per_page ), '2.8.0', 'edit_tags_per_page' );

Where the hook is used in WordPress

Usage not found.