Created
August 6, 2020 12:55
-
-
Save vivirenremoto/46b12faad756028c05f447c6fa1aa615 to your computer and use it in GitHub Desktop.
execute after post update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// añadir marca de agua en las imagenes pendientes al guardar un post | |
function post_after_update($post_id) | |
{ | |
file_get_contents(site_url('/watermark.php')); | |
} | |
add_action('save_post', 'post_after_update'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment