Метод | Описание | |
---|---|---|
__construct ( $post_id ) | ||
get ( $property, $default = null ) | ||
get_customizer_setting ( $name, $default = null ) | ||
load ( ) | ||
load_parts ( $templates ) |
Метод | Описание | |
---|---|---|
add_data ( $data ) | ||
add_data_by_key ( $key, $value ) | ||
build_customizer_settings ( ) | ||
build_html_tag_attributes ( ) | ||
build_post_commments_data ( ) | ||
build_post_content ( ) | ||
build_post_data ( ) | ||
build_post_featured_image ( ) | ||
get_post_image_metadata ( ) | Grabs featured image or the first attached image for the post | |
get_template_path ( $template ) | ||
is_valid_template ( $template ) | ||
locate_template ( $file ) | ||
merge_data_for_key ( $key, $value ) | ||
verify_and_include ( $file, $template_type ) |