/** * Determine whether the active plan supports a particular feature * * @uses Jetpack::get_active_plan() * * @access public * @static * * @return bool True if plan supports feature, false if not */ public static function active_plan_supports($feature) { $plan = Jetpack::get_active_plan(); if (in_array($feature, $plan['supports'])) { return true; } return false; }