ims_widget_admin_options

Description

The “ims_widget_admin_options” action runs after the widget admin options. It allows to add additional options.

A plugin (or theme) can add an action with the code:

<?php add_action( 'ims_user_permissions', 'filter_function_name'); ?>

The hook is located in the image-store/_inc/widget.php file.

Example

// apply action
function action_ims_widget_admin_options( $instance, $widget ) {
//run action here or echo html
}
add_action('ims_widget_admin_options', 'action_ims_widget_admin_options');

Note: $instance is an associative array of widget options, $widget is the current widget object.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *