/**
  * Constructor, implements the shortcodes
  */
 private function __construct()
 {
     if (!isset(self::$instance)) {
         self::$instance = $this;
     }
     self::$codes_obj = new CFP_Shortcodes();
     $shortcodes = self::$codes_obj->shortcodes();
     foreach ($shortcodes as $tag => $data) {
         add_shortcode($tag, $data['callback']);
     }
 }
/**
 * Returns all registered templates
 * @return array
 */
function cfp_get_templates()
{
    return CFP_Register_Shortcodes::get_templates();
}