It's easy to register meta boxes and meta data for new custom post types, but adding these in for existing post types, is not as clean.
To achieve this, we should create a shared controller. This should be an abstract class which can be defined in a project and registered as part of the perique registration process.
A working example of this can be found on the Perique Fishing Theme.
This requires a custom see of rules that need registering as part of Di rules. The way BladeOne_Provider is bootstrapped, should be used as a base.
It's easy to register meta boxes and meta data for new custom post types, but adding these in for existing post types, is not as clean.
To achieve this, we should create a shared controller. This should be an abstract class which can be defined in a project and registered as part of the perique registration process.
A working example of this can be found on the Perique Fishing Theme.
This requires a custom see of rules that need registering as part of Di rules. The way BladeOne_Provider is bootstrapped, should be used as a base.