We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Why isn't my plugin working?

Erin Dalzell March 29, 2015 by Erin Dalzell

I have a plugin in pi.stripe.php:

class Plugin_stripe extends Plugin
{
    public function js() {
        $js = <<<JS
lots of stuff 
in
here
JS;
        return $js; 
    }
}

And in my template:

    {{ stripe:js }}

It is not called (verified not called in the debugger). I have a hook in hooks.stripe.php that is called so everything should be working. Why would it not be loaded?

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
2 Replies
1 Follower