2

It seems that changing the values of the $data argument variable doesn't change anything.

Is there a way to change the value of some channel fields inside the entry_submission_ready hook?

1
3

After tinkering around, I found out that the way to do it is to set these values inside the method

$this->EE->api_channel_entries->data['my_field_id'] = 'my_field_value';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.