protected function init() { self::$authors = array(); self::$row_counter = 0; }
function g1_post_format_the_content($content) { global $post; if ($post) { switch (get_post_format($post->ID)) { case 'chat': $content = G1_Post_Format_Chat::format(array('content' => $content, 'post_id' => $post->ID)); break; case 'quote': $content = G1_Post_Format_Quote::format(array('content' => $content, 'post_id' => $post->ID)); break; case 'alink': $content = G1_Post_Format_Link::format(array('content' => $content, 'post_id' => $post->ID)); break; } } return $content; }