Activate your PolyFields license to enable plugin services and receive automatic updates.
Activation steps
- Go to Languages → Settings → License keys in the WordPress admin.
- Enter your PolyFields license key in the same panel as Polylang Pro licenses.
- Save the settings.
Local and staging environments
Activations on local and staging sites do not count against your license limit. You can activate PolyFields on development copies of a site without using an additional production slot.
SureCart detects the environment type using WordPress core’s wp_get_environment_type(). The most reliable approach is to set WP_ENVIRONMENT_TYPE in wp-config.php:
define( 'WP_ENVIRONMENT_TYPE', 'local' ); // or 'development' or 'staging'
When this constant is set to local, development, or staging, activations on that site are labelled accordingly and excluded from the license limit. This works even on non-standard staging domains that would not match a URL pattern.
As a fallback, SureCart also matches common non-production domain patterns, including:
localhostand*.local,*.test,*.devdomains- Staging subdomains (for example:
staging.example.com) - Common hosting staging domains (for example:
*.wpengine.com)
Prefer setting WP_ENVIRONMENT_TYPE when your staging URL does not match these patterns.
Before first activation
Until a SureCart license has been successfully activated on the site at least once, plugin services do not load and an admin notice points you to the License keys screen.
After first activation
After the first successful activation, the plugin keeps working even if the license is later deactivated on this site. A separate admin notice then reminds you to reactivate the license for updates.