[ Index ]

PHP Cross Reference of WordPress




/wp-includes/ -> class-wp-post.php (summary)

Post API: WP_Post class

File Size: 387 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions


Functions that are not part of a class:

get_instance( $post_id )   X-Ref
Retrieve WP_Post instance.

param: int $post_id Post ID.
return: WP_Post|false Post object, false otherwise.
since: 3.5.0

__construct( $post )   X-Ref

param: WP_Post|object $post Post object.
since: 3.5.0

__isset( $key )   X-Ref

param: string $key Property to check if set.
return: bool
since: 3.5.0

__get( $key )   X-Ref

param: string $key Key to get.
return: mixed
since: 3.5.0

filter( $filter )   X-Ref
{@Missing Summary}

param: string $filter Filter.
return: WP_Post
since: 3.5.0

to_array()   X-Ref
Convert object to array.

return: array Object as array.
since: 3.5.0

Generated: Tue May 17 01:00:03 2022 Cross-referenced by PHPXref 0.7.1