function estetico_get_default_agent_id() { $agent = AgentsManager::getDefaultAgent(); if (!$agent) { return false; } return $agent->ID; }