Piwik\Plugins\SitesManager\API::isSiteSpecificUserAgentExcludeEnabled PHP Méthode

isSiteSpecificUserAgentExcludeEnabled() public méthode

Returns true if site-specific user agent exclusion has been enabled. If it hasn't, only the global user agent substrings (see @setGlobalExcludedUserAgents) will be used.
    public function isSiteSpecificUserAgentExcludeEnabled()
    {
        Piwik::checkUserHasSomeAdminAccess();
        return (bool) Option::get(self::OPTION_SITE_SPECIFIC_USER_AGENT_EXCLUDE_ENABLE);
    }