Support » Plugin: ATR Server Status » Posssible feature to add

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rehhoff

    (@rehhoff)

    Hello.very

    Sorry for the (very) late reply, I don’t check these forums as often as I check my mail, so for future reference if you need help, please don’t hestitate to contact me directly.

    yes, this is possible already, but it requires some knowledge of PHP and HTML.
    switch this around, tweak it to your needs, and put it in functions.php

    Something like this could possibly achieve what you’re requesting.

    add_filter("atr_server_success_message", function($message, $server) {
    	$html = "<br><small>Hostname: ".$server->hostname."</small><br>"
    		." appears to be working alright.";
    	return $html;
    }, 10, 2);

    The $server variable contains all available information about the server, as entered in wp-admin, inspect this with print_r(); or var_dump(); if you need to see what it contains.

    Kind Regards
    Allan

    Plugin Author rehhoff

    (@rehhoff)

    No response… marking this as resolved.

    If the above didn’t help you, please feel free to send me an email 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posssible feature to add’ is closed to new replies.