autoship_disable_admin_health_checks

(src/api-health.php) Within the autoship_admin_health_status_menu_bubble() function. This filter allows the disabling of the periodic API health check feature when set to true. When the periodic API health check is disabled, the health check will only occur when the Admin menu > Autoship Cloud option is selected.

// disable periodic Autoship API Healthiness check unless Autoship Cloud tab is selected

function autoship_badge_flag_test(){
	return true;
}

add_filter('autoship_disable_admin_health_checks', 'autoship_badge_flag_test');

Still need help? Contact Us Contact Us