The “ims_after_cron” action runs after the image store cron finish running. The cron includes entry clean up and gallery expiration.

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

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

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


// apply action
function action_ims_after_cron() {
	//run some code here
add_action('ims_after_cron', 'action_ims_after_cron');

Leave a Reply

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