Use in do_shortcode
-
Trying to get the tooltip short code to evaluate in an action to hook into another plugin. The function below does not evaluate properly, is there a special technique for doing this?
function inside_before_dept() { echo do_shortcode( '[su_tooltip style="yellow" position="top" shadow="no" rounded="yes" size="default" title="Department Descriptions" content="Tooltip Content" behavior="hover" close="no" class=""]' . '<span class="green-text">Hover for Descriptions</span>' . '[/su_tooltip]' ); }Thank you.
The topic ‘Use in do_shortcode’ is closed to new replies.