Description
The “ims_widget_display_options” filter is used to add or remove display options from the image Store widget.
A plugin (or theme) can modify the array with the code:
<?php add_filter( 'ims_widget_display_options', 'filter_function_name' ); ?>
The hook is located in the image-store/_inc/widget.php file.
Example
// Apply filter function add_ims_widget_display_options( $options ) { $options['option'] = __( 'New option' ); return $options; } add_filter('ims_widget_display_options', 'add_ims_widget_display_options');
Note: $options is an associative array.