edit_categories_per_page

edit_categories_per_page

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.4

apply_filters('edit_categories_per_page') is found 2 times:

  • /wp-admin/includes/class-wp-screen.php line 1261
    			/** This filter is documented in wp-admin/includes/class-wp-comments-list-table.php */
    			$per_page = apply_filters( 'comments_per_page', $per_page, $comment_status );
    		} elseif ( 'categories_per_page' === $option ) {
    			/** This filter is documented in wp-admin/includes/class-wp-terms-list-table.php */
    			$per_page = apply_filters( 'edit_categories_per_page', $per_page );
    		} else {
    			/** This filter is documented in wp-admin/includes/class-wp-list-table.php */
    			$per_page = apply_filters( "{$option}", $per_page );
    		}
    
    		// Back compat.
    
  • /wp-admin/includes/class-wp-terms-list-table.php line 109
    			 * @since 2.8.0
    			 *
    			 * @param int $tags_per_page Number of categories to be displayed. Default 20.
    			 */
    			$tags_per_page = apply_filters( 'edit_categories_per_page', $tags_per_page );
    		}
    
    		$search = ! empty( $_REQUEST['s'] ) ? trim( wp_unslash( $_REQUEST['s'] ) ) : '';
    
    		$args = array(
    			'taxonomy'   => $taxonomy,