Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > jetpack > _inc > lib >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
admin-pages | Directory | - | - | |
core-api | Directory | - | - | |
debugger | Directory | - | - | |
markdown | Directory | - | - | |
class-jetpack-ai-helper.php | File | 14554 bytes | May 19 2025 19:32:00. | |
class-jetpack-blog-stats-helper.php | File | 2798 bytes | April 14 2025 18:35:52. | |
class-jetpack-currencies.php | File | 4847 bytes | July 15 2024 22:48:12. | |
class-jetpack-instagram-gallery-helper.php | File | 2986 bytes | April 22 2024 23:41:02. | |
class-jetpack-mapbox-helper.php | File | 3232 bytes | November 08 2022 02:55:22. | |
class-jetpack-podcast-feed-locator.php | File | 3554 bytes | April 28 2025 19:38:34. | |
class-jetpack-podcast-helper.php | File | 20716 bytes | April 28 2025 19:38:34. | |
class-jetpack-recommendations.php | File | 15603 bytes | February 26 2024 23:23:14. | |
class-jetpack-top-posts-helper.php | File | 4588 bytes | May 05 2025 21:43:40. | |
class.color.php | File | 22310 bytes | August 20 2024 12:34:10. | |
class.core-rest-api-endpoints.php | File | 151622 bytes | April 28 2025 19:38:34. | |
class.jetpack-automatic-install-skin.php | File | 293 bytes | September 20 2023 01:19:10. | |
class.jetpack-iframe-embed.php | File | 3178 bytes | June 19 2023 23:16:28. | |
class.jetpack-password-checker.php | File | 33225 bytes | April 16 2024 00:40:26. | |
class.jetpack-search-performance-logger.php | File | 3711 bytes | March 29 2022 23:04:42. | |
class.media-extractor.php | File | 22088 bytes | August 13 2024 00:04:40. | |
class.media-summary.php | File | 15803 bytes | June 05 2025 20:49:04. | |
class.media.php | File | 15936 bytes | May 06 2024 23:42:24. | |
components.php | File | 3111 bytes | May 26 2025 19:03:40. | |
debugger.php | File | 872 bytes | January 23 2024 00:02:16. | |
icalendar-reader.php | File | 33905 bytes | February 24 2025 22:55:34. | |
markdown.php | File | 344 bytes | September 22 2022 21:43:06. | |
plans.php | File | 1935 bytes | January 25 2022 23:38:06. | |
plugins.php | File | 209 bytes | February 02 2022 21:44:30. | |
tonesque.php | File | 7015 bytes | August 20 2024 12:34:10. | |
widgets.php | File | 26822 bytes | May 06 2024 23:42:24. |
<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * Plans Library * * Fetch plans data from WordPress.com. * * Not to be confused with the `Jetpack_Plan` (singular) * class, which stores and syncs data about the site's _current_ plan. * * @package automattic/jetpack */ class Jetpack_Plans { /** * Get a list of all available plans from WordPress.com * * @since 7.7.0 * * @return array The plans list */ public static function get_plans() { if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { if ( ! class_exists( 'Store_Product_List' ) ) { require WP_CONTENT_DIR . '/admin-plugins/wpcom-billing/store-product-list.php'; } return Store_Product_List::api_only_get_active_plans_v1_4(); } // We're on Jetpack, so it's safe to use this namespace. $request = Automattic\Jetpack\Connection\Client::wpcom_json_api_request_as_user( '/plans?_locale=' . get_user_locale(), // We're using version 1.5 of the endpoint rather than the default version 2 // since the latter only returns Jetpack Plans, but we're also interested in // WordPress.com plans, for consumers of this method that run on WP.com. '1.5', array( 'method' => 'GET', 'headers' => array( 'X-Forwarded-For' => ( new Automattic\Jetpack\Status\Visitor() )->get_ip( true ), ), ), null, 'rest' ); $body = wp_remote_retrieve_body( $request ); if ( 200 === wp_remote_retrieve_response_code( $request ) ) { return json_decode( $body ); } else { return $body; } } /** * Get plan information for a plan given its slug * * @since 7.7.0 * * @param string $plan_slug Plan slug. * * @return object The plan object */ public static function get_plan( $plan_slug ) { $plans = self::get_plans(); if ( ! is_array( $plans ) ) { return; } foreach ( $plans as $plan ) { if ( $plan_slug === $plan->product_slug ) { return $plan; } } } }
SILENT KILLER Tool