Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Max Bond

    (@max-bond)

    Hello!
    There are no built-in hooks.
    But this is code insert plugin. Why not to insert do_action(); in the widget’s code? 😉

    Thread Starter Eric Murphy

    (@knn)

    Because I want to write a plugin that is displays the current time with the help of a shortcode like
    [currenttime]

    But since hooks are missing it displays only
    [currenttime]
    instead of
    12:34

    Plugin Author Max Bond

    (@max-bond)

    Use this code:
    <?php echo do_shortcode('[currenttime]'); ?>

    Thread Starter Eric Murphy

    (@knn)

    I don’t want to use any php. I want to use your PHP free version.

    I simply want to use
    [foo]
    in your q2w3 manager and set LOCATION to FOOTER/WIDGET (or whatever).

    I just want that your plugin runs its own hooks or runs the_content or widget_text before outputting.

    Plugin Author Max Bond

    (@max-bond)

    Now I understand…
    Without php shortcodes couldn’t be executed.
    I added your request to my todo list, but I have no idea when it will be ready…

    Thread Starter Eric Murphy

    (@knn)

    I think it’s a rather easy solution:

    Simply add a checkbox
    [x] Send output to the_content filter

    Or simply add a hook, e.g. the_q2w3_content.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Does q2w3 Inc Manager offer any Hooks/Filters?’ is closed to new replies.