Skip to content

Feature Request: Ability to Define License Key in wp-config.php #4

@huubl

Description

@huubl

Hi,

It would be very useful if the plugin allowed the license key to be defined in wp-config.php.

For several other premium plugins, such as ACF Pro and Relevanssi, the license key can be stored in wp-config.php like this:

/**
 * Premium plugin keys
 */
define('ACF_PRO_LICENSE', 'XXXXXXX');
define('RELEVANSSI_API_KEY', 'XXXXXXX');

This approach is especially helpful for environments that rely on version control, deployments, or environment based configuration.

It would be great if ACF Theme Code Pro supported something similar, for example:

define('ACF_THEME_CODE_PRO_LICENSE', 'your-license-key');

This would allow developers to keep license keys out of the database and manage them centrally in configuration files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions