How can custom module plugin can transmit a variable and callback plugin can capture it?


I am trying to create a custom module which could transmit a variable and callback plugin could use that variable for its execution.

This is done by having the module include the relevant content in its return value, and then the user capturing that (using register) and passing the desired content to the plugin. There is no internal mechanism to do this.

1 Like

But how that could be used in custom callback plugin!!

It may not be possible, since callback plugins don’t accept any parameters.

Can you state what you want to accomplish outside of implementation? there might be easier ways to get the end result you want.