1 | <?php |
||
3 | class Jetpack_JSON_API_Get_Post_Backup_Endpoint extends Jetpack_JSON_API_Endpoint { |
||
4 | // /sites/%s/posts/%d/backup -> $blog_id, $post_id |
||
5 | |||
6 | protected $needed_capabilities = 'read_private_posts'; |
||
7 | protected $post_id; |
||
8 | |||
9 | function validate_input( $post_id ) { |
||
18 | |||
19 | protected function result() { |
||
30 | |||
31 | } |
||
32 |