| [ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Post API: WP_Post class
| File Size: | 387 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| get_instance( $post_id ) X-Ref |
| Retrieve WP_Post instance. since: 3.5.0 return: WP_Post|false Post object, false otherwise. param: int $post_id Post ID. |
| __construct( $post ) X-Ref |
| Constructor. since: 3.5.0 param: WP_Post|object $post Post object. |
| __isset( $key ) X-Ref |
| Isset-er. since: 3.5.0 return: bool param: string $key Property to check if set. |
| __get( $key ) X-Ref |
| Getter. since: 3.5.0 return: mixed param: string $key Key to get. |
| filter( $filter ) X-Ref |
| {@Missing Summary} since: 3.5.0 return: WP_Post param: string $filter Filter. |
| to_array() X-Ref |
| Convert object to array. since: 3.5.0 return: array Object as array. |
| Generated: Sat Dec 27 01:00:02 2025 | Cross-referenced by PHPXref 0.7.1 |