07385 616 522
Call Us
07385 616 522
Notifications
Clear all

wpda_deleted_server

NED
 NED
(@ned)
Admin Admin
do_action('wpda_deleted_server', $server, $server_title, $current_user);

This action is fired when an administrator removes a server from the netowork. It passes the $server ID that was removed, the $server_title (a friendly name) and the $current_user who removed the server.

Example:

add_action('wpda_deleted_server', 'my_function', 0, 3);

function my_function($server, $server_title, $current_user){
echo "{$current_user} has deleted the server {$server_title}(#{$server})";
}

 

Quote
Topic starter Posted : 16/01/2024 1:26 am
Share: