' . $name . ''; if (!empty($direction)) { $content .= ' ' . $direction . ''; } $content .= ': ' . $speech . ''; return array($name, $direction, $speech, $content); } /** * Handle the_media_transcript filter. * @param string $transcript The transcription text. * @return string The processed transcription text. */ function the_media_transcript($transcript, $content = '') { $content = $this->_process_transcript_content($transcript); return array($transcript, '
' . $content . '
'); } /** * Build the opener/closer for transcripts. */ function the_transcript_opener($content = '') { ob_start(); ?>