Shortcode to snippet within snippet
-
I am trying to put a shortcode of a snippet within another snippet, but it does not seem to work:
$html = ‘[CP_CALCULATED_FIELDS_RESULT_LIST formid=”‘.$result->formid.'” submission=”‘.$result->id.'”][wbcr_snippet id=”7333″][/CP_CALCULATED_FIELDS_RESULT_LIST]’;
echo do_shortcode($html);The above PHP snippet is called from a page and I would like to have an universal snippet included with the PHP snippet.
Any suggestions?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Shortcode to snippet within snippet’ is closed to new replies.