Feature Description
Optimization Detective currently has static classes for OD_Storage_Lock and OD_URL_Metrics_Post_Type, but it has a rest-api.php includes file with global functions and constants. The REST API logic would make sense to also put into a static class so there is consistency. It would also help with reducing the API surface for functions not needing to be public.
Feature Description
Optimization Detective currently has static classes for
OD_Storage_LockandOD_URL_Metrics_Post_Type, but it has arest-api.phpincludes file with global functions and constants. The REST API logic would make sense to also put into a static class so there is consistency. It would also help with reducing the API surface for functions not needing to be public.