You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to verify what the content of $this->args is? When I run the code I get data which is irrelevant.
The args data is about which sidebar the module was rendered in. I feel that it would be more helpful for third-party developers if the context of the module was somehow presented in the filter callback function.
Possible new uses cases developers could use this hook for is to add extra classes if one acf value of the module is set. Right now that is not possible
Properties which would be nice to pass is:
the acf data fields
which ID of the module.
The text was updated successfully, but these errors were encountered:
Modularity/source/php/Module/Text/Text.php
Line 20 in 02b4cf4
Is it possible to verify what the content of
$this->args
is? When I run the code I get data which is irrelevant.The
args
data is about which sidebar the module was rendered in. I feel that it would be more helpful for third-party developers if the context of the module was somehow presented in the filter callback function.Possible new uses cases developers could use this hook for is to add extra classes if one acf value of the module is set. Right now that is not possible
Properties which would be nice to pass is:
ID
of the module.The text was updated successfully, but these errors were encountered: