Description
The “ims_before_user_list” action runs before user (customer ) list is displayed.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_before_user_list', 'filter_function_name'); ?>
The hook is located in the image-store/admin/customers/customers.php file.
Example
// apply action function action_ims_before_user_list( $user_action, $edit_userid ) { //run some action here } add_action('ims_before_user_list', 'action_ims_before_user_list');
Note: $user_action is an string of user current action, $edit_userid is an integer.