07385 616 522
Call Us
07385 616 522
Notifications
Clear all

wpda_add_server

NED
 NED
(@ned)
Admin Admin
do_action('wpda_add_server', $server_data, $user_name);

This action fires when an administrator adds a new server to the network.

It passes $server_data (an array of the server information) and the $user_name of whom added the server.

Example:

add_action('wpda_add_server', 'my_function', 0, 2);

function my_function($server, $user){
    echo "{$user} added the folliwing server to the network -";
    print_r($server);
}
Quote
Topic starter Posted : 15/01/2024 8:05 pm
Share: