do_shortcode() returns a string. code example Example: do_shortcode echo do_shortcode('[name_of_shortcode]');