public function get_post_content_for_csv_export($post_id) { $post_content = get_post_field('post_content', $post_id); $content = explode('<!--more-->', $post_content); return trim($content[0]); }