Blackhole Pro mostly operates behind the scenes, so there is no real need for template tags. That said, the idea list always is open for suggestions if you can think of any tags or functions that may be useful.

Blackhole Template Tags

Currently there is only one template tag for Blackhole Pro:

  • blackhole_trigger() — displays the blackhole trigger link

Here is the recommended way to use this tag:

<?php if (function_exists('blackhole_trigger')) blackhole_trigger(); ?>

That line first checks to make sure that the function exists before calling it.

Got ideas for more template tags? Let us know and we’ll add them in future versions of the plugin. Thanks!