It’s not working for me.
The mfunc function never seems to work correct with me… and i’ve tried every combination possible.
What i’ve done so far:
1.
<!-- mfunc mysecret mother_off_all_forms(); --><!-- /mfunc mysecret -->
2.
<!-- mfunc mysecret echo mother_off_all_forms(); --><!-- /mfunc mysecret -->
3.
<!-- mfunc mysecret -->mother_off_all_forms();<!-- /mfunc mysecret -->
4.
<!-- mfunc mysecret --><?php mother_off_all_forms();?><!-- /mfunc mysecret -->
5.
<!-- mfunc mysecret mother_off_all_forms --><?php mother_off_all_forms(); ?><!-- /mfunc mysecret -->
6.
<!-- mfunc mysecret function1() --><?php function2() ?><!-- /mfunc mysecret -->
#4 and #5 are returning the function, but it is not excluded from the cache.
#1 and #2 are only returning the function when im logged in, when i’m logged out there is no result
#3 is just showing the text.
I’m kind a frustrated. The whole mfunc function seems to be buggy, because it never works as described in de FAQ.
Update with #6
When i’m logged in (= page cache off), function 1 is being executed. When I’m logged of (= page cache on), function 2 is executed (and is cached).