Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Callback Issues in plugin. Your expertise Needed.

peregrineperegrine MVP
edited July 2012 in Development
preg_replace_callback($search, "Myfunction", $text);

I can make a callback if my Myfunction resides outside of the class TestPlugin extends Gdn_Plugin {  ...}


          function Myfunction($variable) {    

I can't find a solution.  Anybody know one.    

I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Comments

Sign In or Register to comment.