post_content; $content = strip_shortcodes( $content ); $content = wp_strip_all_tags( $content ); $text = trim( $title . "\n\n" . $excerpt . "\n\n" . $content ); // Soft limit to avoid huge requests. if ( strlen( $text ) > 12000 ) { $text = substr( $text, 0, 12000 ); } return $text; } }