Support » Plugin: ATR Server Status » filters dont work

  • Resolved Jakours2



    Added ; `add_filter(“atr_server_success_message”, function($message, $server) {
    return $server->humanname.” appears to be working alright.”;
    }, 10, 2);

    add_filter(“atr_server_error_message”, function($message, $server) {
    return $server->humanname.” is down.”;
    }, 10, 2);`

    Into my functions.php .. but that dont work.


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


    Hey @jakours2

    Sorry for the very late reply, I very rarely check those forums, so if you require any future help, please don’t hestitate to contact me at since there’s a bigger chance I’ll see your message there, the response time will most likely be shorter..

    To answer your question, could you please try to increase $priority argument value (that’s the 3rd param in the add_filter function which is currently set to 10)
    To be sure it’s high enough replace 10 with “PHP_INT_MAX” without the quotes.

    Additionally, please try to update to the latest version, as I’ve just recently sent out an update.

    Kind Regards.
    – Allan

    Plugin Author rehhoff


    No reply.. marking this as resolved for now…

    Hello Allan,

    Oh..i’m sorry, i solved the problem by myself…

    It Works great now. Thanks !!

    Btw, any chance to show server load?

    Plugin Author rehhoff


    No, not as it currently is.

    The nature of wordpress would make it really hard to implement such a thing sadly.

    if you really want to monitor your servers and server load/uptime, you should consider using software like nagios or zabix instead.

    Thanks! I’ll take a look.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘filters dont work’ is closed to new replies.