WordPress filter hook
emd_mb_plupload_image_drop_string
Fired by 9 WordPress plugins, running on 2,970+ sites between them.
How to use emd_mb_plupload_image_drop_string
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'emd_mb_plupload_image_drop_string', function( $x, $field ) {
// Change $x here.
return $x;
}, 10, 2 );Argument names come from Video Gallery's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
9 plugins that fire emd_mb_plupload_image_drop_string
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Video Gallery2,000+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'youtube-showcase' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:111 -
Customer Support Ticket System & Helpdesk400+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'wp-ticket-com' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105 -
Employee Spotlight300+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'employee-spotlight' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105 -
Employee Directory100+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'empd-com' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105 -
Campus Directory80+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'campus-directory' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105 -
Simple Contact Form Plugin for WordPress40+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'wp-easy-contact' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105 -
Project Management, Bug and Issue Tracking Plugin20+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'software-issue-manager' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105 -
Event RSVP and Simple Event Management Plugin20+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'wp-easy-events' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105 -
Easy Accordion FAQ and Knowledge Base Software for WordPress10+ installs
apply_filters( 'emd_mb_plupload_image_drop_string', _x( 'Drop images here', 'image upload', 'knowledge-center' ), $field )assets/ext/emd-meta-box/inc/fields/plupload-image.php:105
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.