ims_user_permissions

Description

The “ims_user_permissions” action runs after a new package has been created.

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/settings.php file.

Example

// apply action
function action_ims_user_permissions( $action, $userid, $user_options ) {
	//run action here
}
add_action('ims_user_permissions', 'action_ims_user_permissions');

Note:  $action is an string, $userid is an integer, $settings is an associative array of user options.


Leave a Reply

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