@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * @param array $post_types - other post types. |
| 194 | 194 | * |
| 195 | 195 | * @see hook 'rest_api_allowed_post_types' |
| 196 | - * @return array |
|
| 196 | + * @return string[] |
|
| 197 | 197 | */ |
| 198 | 198 | public function allow_rest_api_types( $post_types ) { |
| 199 | 199 | $post_types[] = self::$post_type_plan; |
@@ -250,7 +250,6 @@ discard block |
||
| 250 | 250 | /** |
| 251 | 251 | * Callback that parses the membership purchase shortcode. |
| 252 | 252 | * |
| 253 | - * @param array $attrs - attributes in the shortcode. `id` here is the CPT id of the plan. |
|
| 254 | 253 | * @param string $content - Recurring Payment block content. |
| 255 | 254 | * |
| 256 | 255 | * @return string|void |