Install_certificate
The post_install_certificate filter will trigger after installing SSL Certificate successfully
Parameters
Sample code
add_filter('post_install_certificate', 'my_post_install_certificate', 100, 2);
function my_post_install_certificate($user, $domain){
// Code
// Write your code here
}Remove_certificate
The post_remove_certificate filter will trigger after removing SSL Certificate successfully
Parameters
Sample code
add_filter('post_remove_certificate', 'my_post_remove_certificate', 100, 2);
function my_post_remove_certificate($user, $domain){
// Code
// Write your code here
}