wp/wp-includes/class-wp-post.php
changeset 18 be944660c56a
parent 9 177826044cd9
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    12  *
    12  *
    13  * @since 3.5.0
    13  * @since 3.5.0
    14  *
    14  *
    15  * @property string $page_template
    15  * @property string $page_template
    16  *
    16  *
    17  * @property-read array  $ancestors
    17  * @property-read int[]  $ancestors
    18  * @property-read int    $post_category
    18  * @property-read int    $post_category
    19  * @property-read string $tag_input
    19  * @property-read string $tag_input
    20  */
    20  */
    21 final class WP_Post {
    21 final class WP_Post {
    22 
    22 
   350 	 * {@Missing Summary}
   350 	 * {@Missing Summary}
   351 	 *
   351 	 *
   352 	 * @since 3.5.0
   352 	 * @since 3.5.0
   353 	 *
   353 	 *
   354 	 * @param string $filter Filter.
   354 	 * @param string $filter Filter.
   355 	 * @return array|bool|object|WP_Post
   355 	 * @return WP_Post
   356 	 */
   356 	 */
   357 	public function filter( $filter ) {
   357 	public function filter( $filter ) {
   358 		if ( $this->filter === $filter ) {
   358 		if ( $this->filter === $filter ) {
   359 			return $this;
   359 			return $this;
   360 		}
   360 		}