Extending Uni CPO
It is possible to extend Uni CPO plugin by adding new options and settings. This article includes the related information and guides.
Adding new options
Filters
uni_cpo_option_typesadd_filter( 'uni_cpo_option_types', 'my_option_types', 10, 1 )
function my_option_types($types) {
$types[] = 'fantasy_option';
return $types;
}uni_cpo_option_classes / uni_cpo_option_classes_proAdding new settings
Filters
Last updated