PHP 클래스 WPCOM_JSON_API_Update_Post_Endpoint, jetpack

상속: extends WPCOM_JSON_API_Post_Endpoint
파일 보기 프로젝트 열기: automattic/jetpack

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

public __construct ( $args )

callback() 공개 메소드

/sites/%s/posts/%d/restore -> $blog_id, $post_id
public callback ( $path = '', $blog_id, $post_id )

delete_post() 공개 메소드

/sites/%s/posts/%d/delete -> $blog_id, $post_id
public delete_post ( $path, $blog_id, $post_id )

restore_post() 공개 메소드

/sites/%s/posts/%d/restore -> $blog_id, $post_id
public restore_post ( $path, $blog_id, $post_id )

write_post() 공개 메소드

/sites/%s/posts/%d -> $blog_id, $post_id
public write_post ( $path, $blog_id, $post_id )