Feb 24
Enzymes 2.1 Released Today
Changes
- Added the new feature for passing a value as an argument to an evaluation enzyme, rather than a post/key reference to it (which is still available). This comes in handy when you have a “normal” value and it’s a bit annoying to define a custom field just for that.
For example, let’s say that you have a custom field with the key mark and the following value:
return
'<span style="background-color:yellow;">'
. $this->substrate
. '</span>';
Then you could use it {[ .mark( =like this= ) ]} to get something like this
Download
This version is available for download from wordpress.org
