PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | vendor/storeengine/wordpress-sdk/functions.php +1 -1 2.11.1 → 2.14.0 View file →
@@ -49,9 +49,9 @@
49 49 * use_update?: bool, // Should enable updater, For pro/freemium this needs to be enabled, for free version if deployed with StoreEngine this needs to be enabled. If developer just using SDK for uninstall-tracking/analytics this should be false.
50 50 * slug: string, // Plugin slug (without main file)
51 51 * package_version?: string, // Optional current package version. Auto-detected from plugin/theme metadata when omitted.
52 52 * allow_local?: bool, // Should plugin dev allow license activation from local environment. Recommended.
53 - * critical_paths?: array, // Package-relative paths (e.g. ['vendor/autoload.php']) that must exist in an update package; if any is missing the update is aborted before the live folder is swapped. Defaults to ['vendor/autoload.php'].
53 + * critical_paths?: array, // Package-relative paths (e.g. ['includes/autoload.php']) that must exist in an update package; if any is missing the update is aborted before the live folder is swapped. Declare the files your plugin hard-requires on boot. When omitted the SDK falls back to ['vendor/autoload.php'], but only if the installed build actually ships one — so a consumer that ships no vendor/ is never blocked by a path it never had.
54 54 * requires_core?: string|array, // Core/free plugin this (pro) product depends on. Pass the slug, or ['slug'=>'', 'basename'=>'', 'name'=>'', 'min_version'=>'']. When set, the SDK updates the core plugin first and refuses to apply the pro update until the core plugin is active and at least the required version (the required version can also be supplied per-release by the license server). Prevents pro from out-running its free plugin during the wp.org 24h review delay.
55 55 * license_grace_period?: int, // Seconds a previously-valid license keeps working when the license server is unreachable for its scheduled re-check. Default 14 days. Prevents a transient outage from deactivating a paying customer. 0 = fail closed immediately.
56 56 * license_server: string, // Store URL (api backend for SDK).
57 57 * activation_prompt?: null|string, // Custom activation nag (admin-notice) message.