wp-includes/class-wp-post.php:358{@Missing Summary}
$filterstringWP_Post public function filter( $filter ) { if ( $this->filter === $filter ) { return $this; } if ( 'raw' === $filter ) { return self::get_instance( $this->ID ); } return sanitize_post( $this, $filter ); }Introduced in 3.5.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
WP_Post to WP_Post|false.verified against sourcesrc/wp-includes/class-wp-post.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.