static function external($template_id, $email_id, $subscriber_id, $example)
 {
     //if( $example == false ){
     $link = get_post_meta($template_id, '_footer_link_color', true);
     if ($link == false) {
         $link = '#2469a0';
     }
     $content = get_post_meta($email_id, '_footer_content', true);
     if (!$content) {
         if (self::template_post_exists($template_id)) {
             $content = get_post_meta($template_id, '_footer_content', true);
         } else {
             $content = self::content();
         }
     }
     //$content = $content_post->post_content;
     //remove_filter('the_content','wpautop');
     add_filter('bj_lazy_load_run_filter', '__return_false');
     $content = apply_filters('the_content', $content);
     //add_filter('the_content','wpautop');
     $content = str_replace(']]>', ']]>', $content);
     $content = spnl_do_email_tags($content, $template_id, $email_id, $subscriber_id, $example);
     $content = SendPress_Template::link_style($link, $content);
     /*
     } else {
     	$content = self::lipsum_format();
     }
     */
     if ($content != '') {
         return self::table_start($template_id) . $content . self::table_end($template_id);
     }
     return '';
 }
 static function external($template_id, $email_id, $subscriber_id, $example, $x = false)
 {
     add_filter('bj_lazy_load_run_filter', '__return_false');
     if ($example == false) {
         do_action('sendpress_template_loaded');
         if ($x == false) {
             $content_post = get_post($email_id);
             $content = $content_post->post_content;
         } else {
             $content = $x;
         }
         $content = apply_filters('the_content', $content);
         $content = str_replace(']]>', ']]>', $content);
     } else {
         $content = self::lipsum_format();
     }
     $stat = get_post_status($template_id);
     $content = spnl_do_email_tags($content, $template_id, $email_id, $subscriber_id, $example);
     if ($stat == 'sp-standard') {
         $link = get_post_meta($template_id, '_content_link_color', true);
         if ($link == false) {
             $link = '#2469a0';
         }
         $content = SendPress_Template::link_style($link, $content);
     }
     return $content;
 }