diff --git src/wp-includes/rest-api/rest-functions.php src/wp-includes/rest-api/rest-functions.php
index 817368c..df6b879 100644
|
|
function register_rest_route( $namespace, $route, $args = array(), $override = f |
87 | 87 | * this field. Default is 'null', no schema entry will be returned. |
88 | 88 | * } |
89 | 89 | */ |
90 | | function register_api_field( $object_type, $attribute, $args = array() ) { |
| 90 | function register_rest_field( $object_type, $attribute, $args = array() ) { |
91 | 91 | $defaults = array( |
92 | 92 | 'get_callback' => null, |
93 | 93 | 'update_callback' => null, |