Using Hooks
-
Hi!
First off I’d like to thank you for this plugin! Really helpful ??
I’d like to call a php file on my production server that does some DB cleanup after the batch has been sent. I tried adding the code below to my functions.php without any luck, am I using the hook correctly?
add_action( 'sme_deployed' , 'call_url_fix' ); function call_url_fix() { file_get_contents('https://domain.com/db-cleanup.php'); }
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using Hooks’ is closed to new replies.