at path:
ROOT
/
wp-content
/
plugins
/
jetpack
/
class.jetpack-plan.php
run:
R
W
Run
3rd-party
DIR
2026-04-17 06:07:54
R
W
Run
_inc
DIR
2026-04-17 06:07:56
R
W
Run
css
DIR
2026-04-17 06:07:54
R
W
Run
extensions
DIR
2026-04-17 06:07:53
R
W
Run
images
DIR
2026-04-17 06:07:55
R
W
Run
jetpack_vendor
DIR
2026-04-17 06:07:58
R
W
Run
json-endpoints
DIR
2026-04-17 06:07:59
R
W
Run
modules
DIR
2026-04-17 06:07:59
R
W
Run
sal
DIR
2026-04-17 06:07:59
R
W
Run
src
DIR
2026-04-17 06:07:59
R
W
Run
vendor
DIR
2026-04-17 06:07:59
R
W
Run
views
DIR
2026-04-17 06:07:54
R
W
Run
CHANGELOG.md
766.64 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
LICENSE.txt
18.2 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
SECURITY.md
2.45 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
class-jetpack-connection-status.php
728 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class-jetpack-gallery-settings.php
3.47 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class-jetpack-newsletter-dashboard-widget.php
436 By
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class-jetpack-pre-connection-jitms.php
2.34 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class-jetpack-stats-dashboard-widget.php
7.46 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class-jetpack-xmlrpc-methods.php
7.38 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.frame-nonce-preview.php
3.22 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-admin.php
21.09 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-autoupdate.php
9.93 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-cli.php
74.32 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-client-server.php
2.62 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-gutenberg.php
45.32 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-heartbeat.php
4.44 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-modules-list-table.php
14.81 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-network-sites-list-table.php
6.03 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-network.php
22.19 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-plan.php
4.09 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-post-images.php
11.72 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-twitter-cards.php
5.69 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack-user-agent.php
25.3 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.jetpack.php
204.86 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.json-api-endpoints.php
91.36 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.json-api.php
38.3 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
class.photon.php
1.74 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
composer.json
4.25 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
enhanced-open-graph.php
4.71 KB
2026-04-17 06:07:54
R
W
Run
Delete
Rename
functions.compat.php
4.34 KB
2026-04-17 06:07:55
R
W
Run
Delete
Rename
functions.cookies.php
2.04 KB
2026-04-17 06:07:55
R
W
Run
Delete
Rename
functions.global.php
13.91 KB
2026-04-17 06:07:55
R
W
Run
Delete
Rename
functions.is-mobile.php
2.47 KB
2026-04-17 06:07:55
R
W
Run
Delete
Rename
functions.opengraph.php
30.99 KB
2026-04-17 06:07:55
R
W
Run
Delete
Rename
functions.photon.php
3.04 KB
2026-04-17 06:07:55
R
W
Run
Delete
Rename
jetpack.php
8.92 KB
2026-04-17 06:07:56
R
W
Run
Delete
Rename
json-api-config.php
338 By
2026-04-17 06:07:58
R
W
Run
Delete
Rename
json-endpoints.php
6.92 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
load-jetpack.php
3.69 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
locales.php
371 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
readme.txt
33.15 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
unauth-file-upload.php
5.85 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
uninstall.php
1.65 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
wpml-config.xml
1.26 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
error_log
up
📄
class.jetpack-plan.php
Save
<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * Handles fetching of the site's plan and products from WordPress.com and caching values locally. * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan instead. * * Not to be confused with the `Jetpack_Plans` class (in `_inc/lib/plans.php`), which * fetches general information about all available plans from WordPress.com, side-effect free. * * @package automattic/jetpack */ use Automattic\Jetpack\Current_Plan; /** * Provides methods methods for fetching the site's plan and products from WordPress.com. */ class Jetpack_Plan { /** * The name of the option that will store the site's plan. * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::PLAN_OPTION * * @var string */ const PLAN_OPTION = Current_Plan::PLAN_OPTION; /** * The name of the option that will store the site's products. * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::SITE_PRODUCTS_OPTION * * @var string */ const SITE_PRODUCTS_OPTION = Current_Plan::SITE_PRODUCTS_OPTION; /** * Array of products supported by each plan. * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::PLAN_DATA * * @var array */ const PLAN_DATA = Current_Plan::PLAN_DATA; /** * Given a response to the `/sites/%d` endpoint, will parse the response and attempt to set the * site's plan and products from the response. * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::update_from_sites_response instead. * * @param array $response The response from `/sites/%d`. * @return bool Was the plan successfully updated? */ public static function update_from_sites_response( $response ) { _deprecated_function( __METHOD__, '12.3', 'Automattic\Jetpack\Current_Plan::update_from_sites_response' ); return Current_Plan::update_from_sites_response( $response ); } /** * Make an API call to WordPress.com for plan status * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::refresh_from_wpcom instead. * * @access public * @static * * @return bool True if plan is updated, false if no update */ public static function refresh_from_wpcom() { _deprecated_function( __METHOD__, '12.3', 'Automattic\Jetpack\Current_Plan::refresh_from_wpcom' ); return Current_Plan::refresh_from_wpcom(); } /** * Get the plan that this Jetpack site is currently using. * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::get instead. * * @access public * @static * * @return array Active Jetpack plan details */ public static function get() { _deprecated_function( __METHOD__, '12.3', 'Automattic\Jetpack\Current_Plan::get' ); return Current_Plan::get(); } /** * Get the site's products. * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::get_products instead. * * @access public * @static * * @return array Active Jetpack products */ public static function get_products() { _deprecated_function( __METHOD__, '12.3', 'Automattic\Jetpack\Current_Plan::get_products' ); return Current_Plan::get_products(); } /** * Gets the minimum plan slug that supports the given feature * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::get_minimum_plan_for_feature instead. * * @param string $feature The name of the feature. * @return string|bool The slug for the minimum plan that supports. * the feature or false if not found */ public static function get_minimum_plan_for_feature( $feature ) { _deprecated_function( __METHOD__, '12.3', 'Automattic\Jetpack\Current_Plan::get_minimum_plan_for_feature' ); return Current_Plan::get_minimum_plan_for_feature( $feature ); } /** * Determine whether the active plan supports a particular feature * * @deprecated 12.3 use Automattic\Jetpack\Current_Plan::supports instead. * * @access public * @static * * @param string $feature The module or feature to check. * * @return bool True if plan supports feature, false if not */ public static function supports( $feature ) { _deprecated_function( __METHOD__, '12.3', 'Automattic\Jetpack\Current_Plan::supports' ); return Current_Plan::supports( $feature ); } }