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

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.


Sign In or Register to comment.