Core Class
View Source on Trac ↗
Core Class
WP_Post
class WP_Post
// Constructor: function Object() { [native code] } Core class used to implement the WP_Post object.
Methods 6 methods
| Method / Return | Description |
|---|---|
| get_instance() (WP_Post | Retrieve WP_Post instance.
Parameters: $post_id: mixed |
| __construct() void | Constructor.
Parameters: $post: mixed |
| __isset() bool | Isset-er.
Parameters: $key: mixed |
| __get() mixed | Getter.
Parameters: $key: mixed |
| filter() WP_Post | {@Missing Summary}
Parameters: $filter: mixed |
| to_array() array | Convert object to array. |
Properties
| Property / Type | Description |
|---|---|
| $ID mixed public | No description available. |
| $post_author mixed public | No description available. |
| $post_date mixed public | No description available. |
| $post_date_gmt mixed public | No description available. |
| $post_content mixed public | No description available. |
| $post_title mixed public | No description available. |
| $post_excerpt mixed public | No description available. |
| $post_status mixed public | No description available. |
| $comment_status mixed public | No description available. |
| $ping_status mixed public | No description available. |
| $post_password mixed public | No description available. |
| $post_name mixed public | No description available. |
| $to_ping mixed public | No description available. |
| $pinged mixed public | No description available. |
| $post_modified mixed public | No description available. |
| $post_modified_gmt mixed public | No description available. |
| $post_content_filtered mixed public | No description available. |
| $post_parent mixed public | No description available. |
| $guid mixed public | No description available. |
| $menu_order mixed public | No description available. |
| $post_type mixed public | No description available. |
| $post_mime_type mixed public | No description available. |
| $comment_count mixed public | No description available. |
| $filter mixed public | No description available. |
Class Information
Since Version
3.5.0
Source File
wp-includes/class-wp-post.php
Advertisement