How To Register And Use Anchors In ClipBucket

57 views October 18, 2016 October 18, 2016 Saqib Razzaq 0

Anchors allow you to run plugin functions anywhere in ClipBucket html templates. To be able to use an anchor, you must first register one. Here is how to register an anchor.

function myfunc() {
// do anything in functions

register_anchor_function(“myfunc”, “myfunc”);

Now anywhere in your HTML files, use {ANCHOR place=”myfunc”} and that will execute myfunc function.

Was this helpful?