메소드 | 설명 | |
---|---|---|
__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 ) | ||
should_load_theme_functions ( $post_id = null ) |
public callback ( $path = '', $blog_id, $post_id ) |
public delete_post ( $path, $blog_id, $post_id ) |
protected parse_and_set_author ( $author = null, $post_type = 'post' ) |
protected parse_and_set_featured_image ( $post_id, $delete_featured_image, $featured_image ) |
public restore_post ( $path, $blog_id, $post_id ) |
public write_post ( $path, $blog_id, $post_id ) |