On plugin updates – upgrader_process_complete hook will not trigger?
-
I’ve created a simple Code Snippet to test the upgrader_process_complete hook. I cannot get it to trigger on plugin updates or plugin activation. I see no errors with wp_debug true.
function log_this($upgrader_object, $options) {
error_log(‘upgrader_process_complete triggered!’);
}
add_action(‘upgrader_process_complete’, ‘log_this’, 20, 2);I’m using a new very basic WordPress installation with only Code Snippets and Elementor plugin with the Hello theme. Any ideas on troubleshooting? I also tried it with child theme in functions.php.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘On plugin updates – upgrader_process_complete hook will not trigger?’ is closed to new replies.