A simple API to do the shortcodes on certain conditions.