Shortcode inside pluggable function?
-
Is it possible to make a shortcode work inside a pluggable function? like:
if (!function_exists('ausers_format_user_some_info')) { function ausers_format_user_some_info($v, $u) { return do_shortcode ('[some-shortcode]'); else return ($v); } }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcode inside pluggable function?’ is closed to new replies.