Make a filter that allows for removal of fields displayed on the API. The [`$objects_to_register`][1] should be changed by passed to the filter. [1]: https://github.com/csrui/wp-construct-plugin/blob/master/lib/ContentType/RestFieldsRegistry.php#L132
Make a filter that allows for removal of fields displayed on the API. The
$objects_to_registershould be changed by passed to the filter.