Jetpack_Sync_Actions::sync_allowed PHP Méthode

sync_allowed() static public méthode

static public sync_allowed ( )
    static function sync_allowed()
    {
        require_once dirname(__FILE__) . '/class.jetpack-sync-settings.php';
        return !Jetpack_Sync_Settings::get_setting('disable') && Jetpack::is_active() && !(Jetpack::is_development_mode() || Jetpack::is_staging_site()) || defined('PHPUNIT_JETPACK_TESTSUITE');
    }