• Resolved davyxx

    (@davyxx)


    Hello,
    I am wondering whether I could use variables in your plugin.
    Something like:

    <?php
    $a=”2018-01-17″;
    [time-restrict on=$a];
    ?>

    would that be possible?

Viewing 1 replies (of 1 total)
  • Plugin Author Dave Clements

    (@thewanderingbrit)

    You know, I’m not entirely sure. You’d have to give it a go, but I think it could be done. You’d have to use do_shortcode() and concatenate the string with your variable, but I think it should work.

Viewing 1 replies (of 1 total)
  • The topic ‘question about variables’ is closed to new replies.