WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Enhanced Mediapicker

Enhances the mediapicker with some nice features. It will add a grid-list view, the option to show more then 10 items and a preview.

Can I change the default value for the number of media items that are displayed?

Yes, if you want to set a different default value for all users in your theme functions.php you can use:

<?php
add_filter('cp_mediapicker_limit', 'my_mediapicker_limit');
function my_mediapicker_limit () {
    return 20; // set your own number of items
}
?>

For individual users you can add the User ID to the filter name. In this example we will change the default value for User with User ID = 3.

<?php
add_filter('cp_mediapicker_limit_3', 'my_mediapicker_limit');
function my_mediapicker_limit () {
    return 40; // set your own number of items
}
?>

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-8-30
Downloads: 1,342

Ratings

4 stars
4.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
0,1,0