Метод | Описание | |
---|---|---|
__construct ( $args ) | ||
callback ( $path = '', $blog_id, $post_id ) | /sites/%s/posts/%d/restore -> $blog_id, $post_id | |
delete_post ( $path, $blog_id, $post_id ) | /sites/%s/posts/%d/delete -> $blog_id, $post_id | |
restore_post ( $path, $blog_id, $post_id ) | /sites/%s/posts/%d/restore -> $blog_id, $post_id | |
write_post ( $path, $blog_id, $post_id ) | /sites/%s/posts/%d -> $blog_id, $post_id |
Метод | Описание | |
---|---|---|
parse_and_set_author ( $author = null, $post_type = 'post' ) | ||
parse_and_set_featured_image ( $post_id, $delete_featured_image, $featured_image ) |
public callback ( $path = '', $blog_id, $post_id ) |
public delete_post ( $path, $blog_id, $post_id ) |
public restore_post ( $path, $blog_id, $post_id ) |
public write_post ( $path, $blog_id, $post_id ) |