You appear to be a bot. Output may be restricted
Description
This filter is documented in modules/sharedaddy/sharing-service.php
Usage
WPCOM_JSON_API_Post_Endpoint::get_the_post_content_for_display();
Parameters
Returns
void
Source
File name: jetpack/json-endpoints/class.wpcom-json-api-post-endpoint.php
Lines:
1 to 20 of 20
function get_the_post_content_for_display() { global $pages, $page; $old_pages = $pages; $old_page = $page; $content = join( "\n\n", $pages ); $content = preg_replace( '/<!--more(.*?)?-->/', '', $content ); $pages = array( $content ); $page = 1; ob_start(); the_content(); $return = ob_get_clean(); $pages = $old_pages; $page = $old_page; return $return; }