equal
deleted
inserted
replaced
39 /** |
39 /** |
40 * Filters a response based on the context defined in the schema. |
40 * Filters a response based on the context defined in the schema. |
41 * |
41 * |
42 * @since 5.0.0 |
42 * @since 5.0.0 |
43 * |
43 * |
44 * @param array $data Response data to fiter. |
44 * @param array $data Response data to filter. |
45 * @param string $context Context defined in the schema. |
45 * @param string $context Context defined in the schema. |
46 * @return array Filtered response. |
46 * @return array Filtered response. |
47 */ |
47 */ |
48 public function filter_response_by_context( $data, $context ) { |
48 public function filter_response_by_context( $data, $context ) { |
49 $data = parent::filter_response_by_context( $data, $context ); |
49 $data = parent::filter_response_by_context( $data, $context ); |