ims_admin_init

Description

The “ims_admin_init” action runs after the Image Store admin variables have been set.

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

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

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

Example

// apply action
function action_ims_admin_init( $ImStore ) {
//run some action here
}
add_action('ims_admin_init', 'action_ims_admin_init');

Note: $ImStore is the global image store object.


Comments

Leave a Reply

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