Is possible change number on post/product category display in wordpress admin area?
Now is 20, but i need 50 per page.
<?php
function change_admin_pagination(){
global $per_page, $wp_query;
$per_page = 500;
$posts_per_page = 25;
$wp_query->query('showposts='. $posts_per_page);
}
add_action('admin_head', 'change_admin_pagination');
?>
I found this but is for post per page in admin area.