跳转到主要内容

acf/admin/license_key_constant_message

Description

Used to modify the admin screen message when a license key is defined in code.

Changelog

  • Added in version 5.11.1

Example

This example demonstrates how to modify the displayed message when a license key is defined in code.

functions.php

add_filter('acf/admin/license_key_constant_message', function($message) {
    return 'ACF is activated by a defined license key.';
});