In order to override the default of 50 categories per page, you can add the following code to your functions.php file:
add_filter( 'get_terms_args', 'show_all_categories_admin_nav_menu', 10, 2);
function show_all_categories_admin_nav_menu( $args, $taxonomies ) {
if( reset($taxonomies) === 'category' ) {
$args['number'] = '';
}
return $args;
}
In order to override the default of 50 woocommerce categories per page, you can add the following code to your functions.php and change the taxonmy slug from category to product_cat:
add_filter( 'get_terms_args', 'show_all_categories_admin_nav_menu', 10, 2);
function show_all_categories_admin_nav_menu( $args, $taxonomies ) {
if( reset($taxonomies) === 'product_cat' ) {
$args['number'] = '';
}
return $args;
}