Files
medicalalert-web-reloaded/wp/wp-content/plugins/imagify/inc/functions/media.php
Tony Volpe 4eb982d7a8 Merged in feature/from-pantheon (pull request #16)
code from pantheon

* code from pantheon
2024-01-10 17:03:02 +00:00

23 lines
511 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* Trigger a hook that should happen before a media is deleted.
*
* @since 1.9
* @author Grégory Viguier
*
* @param ProcessInterface $process An optimization process.
*/
function imagify_trigger_delete_media_hook( $process ) {
/**
* Triggered bifore a media is deleted.
*
* @since 1.9
* @author Grégory Viguier
*
* @param ProcessInterface $process An optimization process.
*/
do_action( 'imagify_delete_media', $process );
}