| @@ -54,9 +54,8 @@ | ||
| 54 | 54 | array( |
| 55 | 55 | 'methods' => \WP_REST_Server::DELETABLE, |
| 56 | 56 | 'callback' => array( $this, 'unfollow_actor' ), |
| 57 | 57 | 'permission_callback' => array( $this, 'check_permission' ), |
| 58 | - 'show_in_index' => false, | |
| 59 | 58 | ), |
| 60 | 59 | ) |
| 61 | 60 | ); |
| 62 | 61 | |
| @@ -76,9 +75,8 @@ | ||
| 76 | 75 | array( |
| 77 | 76 | 'methods' => \WP_REST_Server::CREATABLE, |
| 78 | 77 | 'callback' => array( $this, 'block_actor' ), |
| 79 | 78 | 'permission_callback' => array( $this, 'check_permission' ), |
| 80 | - 'show_in_index' => false, | |
| 81 | 79 | 'args' => array( |
| 82 | 80 | 'site_wide' => array( |
| 83 | 81 | 'description' => 'Whether to block site-wide (admin only).', |
| 84 | 82 | 'type' => 'boolean', |
| @@ -105,9 +103,8 @@ | ||
| 105 | 103 | array( |
| 106 | 104 | 'methods' => \WP_REST_Server::CREATABLE, |
| 107 | 105 | 'callback' => array( $this, 'follow_actor' ), |
| 108 | 106 | 'permission_callback' => array( $this, 'check_permission' ), |
| 109 | - 'show_in_index' => false, | |
| 110 | 107 | ), |
| 111 | 108 | ) |
| 112 | 109 | ); |
| 113 | 110 | } |