$load_allowed = apply_filters( 'wpas_allow_loading', true )
You can use this filter to completely prevent Awesome Support from loading. This would be useful when the traffic is coming from bot sources such as pingdom or uptimerobot.
This filter needs to be defined VERY EARLY in the loading process so best to define it in a MU plugin.
add_filter('wpas_allow_loading', 'wpas_allow_load', 10, 2); function wpas_allow_load($result) { // manipulate the $result variable here to set it to true or false. return $result; }
Version 4.3.3