Description
The “ims_before_get_galleries” action runs before the galleries for a gallery list have been retrieved for display.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_before_get_galleries', 'filter_function_name' ); ?>
The hook is located in the image-store/_inc/store.php file.
Example
// apply action function action_ims_before_get_galleries( $args, $ImStore ) { //run action here } add_action('ims_before_get_galleries', 'action_ims_before_get_galleries');
Note: $args is an associative array, $ImStore is the global store object.
Leave a Reply