ly', 'jetpack_social_basic_bi_yearly', 'jetpack_social_advanced_yearly', 'jetpack_social_advanced_monthly', 'jetpack_social_advanced_bi_yearly', ); } /** * Checks whether the current plan (or purchases) of the site already supports the product * * @return boolean */ public static function has_paid_plan_for_product() { if ( parent::has_paid_plan_for_product() ) { return true; } // For atomic sites, do a feature check to see if the republicize feature is available // This feature is available by default on all Jetpack sites if ( ( new Host() )->is_woa_site() && static::does_site_have_feature( 'republicize' ) ) { return true; } return false; } /** * Get the URL where the user manages the product. * * @return string */ public static function get_manage_url() { return admin_url( 'admin.php?page=jetpack-social' ); } /** * Return product bundles list * that supports the product. * * @return boolean|array Products bundle list. */ public static function is_upgradable_by_bundle() { return array( 'growth', 'complete' ); } }