Description
The “ims_before_cron” action runs before the image store cron runs. The cron includes entry clean up and gallery expiration.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_before_cron', 'filter_function_name' ); ?>
The hook is located in the image-store/_inc/store.php file.
Example
// apply action function action_ims_before_cron() { //run some code here } add_action('ims_before_cron', 'action_ims_before_cron');
Leave a Reply