Hello!
There are no built-in hooks.
But this is code insert plugin. Why not to insert do_action();
in the widget’s code? 😉
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
Use this code:
<?php echo do_shortcode('[currenttime]'); ?>
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.
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…
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
.