How to override Option value on save?

Status
This content is read-only, or is not open for further replies.

nopoles613

Guest
offline
Hello, we have a custom plugin we've built that uses a Code Event Listener to listen for the event entity_post_save on XF\Entity\Option objects. The Event Listener uses a callback to trigger some checks and updates when certain settings in our plugin are changed. This all works as expected.

However, there are cases where we'd like to change the value of the Option entity from the event listener.

Our listener receives the XF\Entity\Option $entity, and I've...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom