ims_update_user

Description

The “ims_update_user” action runs after a user (customer) has been updated or created.

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

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

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

Example

// apply action
function action_ims_update_user( $user_id, $action ) {
//run action here
}
add_action('ims_update_user', 'action_ims_update_user');

Note: $user_id is an integer, $action is an string.


Comments

Leave a Reply

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