Retrieves the type for register_rest_field() .
Source
public function get_rest_field_type() {
return 'user';
}
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
Retrieves the type for register_rest_field() .
public function get_rest_field_type() {
return 'user';
}
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.