Description
The “ims_user_status” filter is used to add or remove user status that helps manage user (customers) profiles .
A plugin (or theme) can modify the array with the code:
<?php add_filter( 'ims_user_status', 'filter_function_name' ); ?>
The hook is located in the image-store/_inc/admin.php file.
Example
// Apply filter function add_ims_user_status( $status ) { $status['blocked'] = __( 'Blocked' ); return $status; } add_filter('ims_user_status', 'add_ims_user_status');
Note: $status is an associative array.
Leave a Reply