public
Created

An example of how to use shortcodes in the OpenBox feature of the OpenHook WordPress plugin.

  • Download Gist
gistfile1.php
PHP
1 2 3 4 5 6 7
<?php
 
$string = 'This is the string in which you want to use [shortcodes].';
 
echo do_shortcode( $string );
 
?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.