Note: the following example is wrong*. Do not do it!
I often see code like the following:
do_shortcode( '[some_shortcode]' );
I want to explain the proper way of manually running shortcodes using PHP.
*Ok, it’s not strictly wrong, it’s just not the best solution all the time.