With Version 3 comes re-written code with support for code snippets being used conjunction with the filter feature as well as class variable to share variables between saved snippets and code blocks.
Maintained for backwards compatibility only When set to old enables the version 2.2.0 code replacement system for that shortcode, when set to new with the option enabled it uses the newer code replacement system for that shortcode..
There are 2 ways to enable Advanced Filter, the easiest way is to enable it in the plugin options page, the other way is to add useadvancedfilter onto the standard shortcode to use it on shortcode by shortcode basis. or ` `.
Variable delarations can be made by accessing the global variable $allow php as follows global $allow php $allow php-> shared = 'my value This code will set my value to index my key within the array global $allow php echo $allow php-> shared This code will output the index my key within the array.
If you want to echo paragraph tag or line break, or any other tag instead of enclosing them in < and > tags, enclose them in brackets for example instead of The square brackets are converted after the inital tags are stripped and function as normal tags...
On the plugin page, the code is written with spaces in the tag, these need to be removed before the tag will work...
First of all, check that the syntax is valid, make use of the debug feature and try to use snippets with variable sharing or the filter, then if it still doesn't work, come leave question on the support page..
If you are upgrading to 3.0.x from 2.3, make sure that advanced filter is turned off if you were not using it before, if you are upgrading from lower than 2.2.0, make sure you enable the option to use the old code replacement method to ensure your code continues to work..
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Change to the code replacement regex to recognise closing tags correctly. 3.0.2 set table update to rename plugin table to correct case when upgrading turned off the filter by default. 3.0.3.
Read more