Add this hook to admin.php
to override a field description on the fly.
wire()->addHookBefore('Inputfield::render', function(\ProcessWire\HookEvent $event) {
// This prevents a “Method ProcessField::getPage does not exist or is not callable in this context” error on /setup/field/, etc
if (\ProcessWire\wire()->process != 'ProcessPageEdit') return;
$field = $event->object;
if ($field->name == 'yourFieldNameGoesHere') {
$description = 'Your description goes here';
$field->set('description', $description);
}
});
