Свойство | Тип | Описание | |
---|---|---|---|
$post | object | The WordPress post. | |
$type | string | The meta type. |
Метод | Описание | |
---|---|---|
__construct ( integer $id ) | The constructor. | |
get_permalink ( ) : string | Get the permalink for the page. | |
get_post ( ) : WP_Post | Get the WordPress post object. | |
get_property ( string $slug, string $child_slug = '' ) : null | Papi_Core_Property | Load property from page type. | |
get_status ( ) : string | Get the post status of a page. | |
valid ( ) : boolean | Check if the page has the post object and that it's not null. |
Метод | Описание | |
---|---|---|
prepare_load_value ( Papi_Core_Property $property, mixed $value ) : mixed | Prepare load value. |
public get_permalink ( ) : string | ||
Результат | string |
public get_post ( ) : WP_Post | ||
Результат | WP_Post |
protected prepare_load_value ( Papi_Core_Property $property, mixed $value ) : mixed | ||
$property | Papi_Core_Property | |
$value | mixed | |
Результат | mixed |