function my_before_install_language($code, $language) {
// Do my stuff
}
add_action('wp-content-translator/before_install_language', 'my_before_install_language', 10, 2);
function my_after_install_language($code, $language) {
// Do my stuff
}
add_action('wp-content-translator/after_install_language', 'my_after_install_language', 10, 2);
function my_before_uninstall_language($code, $language) {
// Do my stuff
}
add_action('wp-content-translator/before_uninstall_language', 'my_before_uninstall_language', 10, 2);
function my_after_uninstall_language($code, $language) {
// Do my stuff
}
add_action('wp-content-translator/after_uninstall_language', 'my_after_uninstall_language', 10, 2);
function my_admin_bar_before() {
// Do my stuff
}
add_action('wp-content-translator/admin_bar/before_add_switcher', 'my_admin_bar_before', 10);
function my_admin_bar_after() {
// Do my stuff
}
add_action('wp-content-translator/admin_bar/after_add_switcher', 'my_admin_bar_before', 10);
function my_options_page_before() {
// Do my stuff
}
add_action('wp-content-translator/options/before_add_options_page', 'my_options_page_before', 10);
function my_options_page_after() {
// Do my stuff
}
add_action('wp-content-translator/options/after_add_options_page', 'my_options_page_after', 10);
function my_user_meta_install(string $code) {
// Do my stuff
}
add_action('wp-content-translator/user/install', 'my_user_meta_install', 10);
function my_user_meta_install(string $code) {
// Do my stuff
}
add_action('wp-content-translator/user/uninstall', 'my_user_meta_uninstall', 10);
@param string $answer
@param array $connections
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.