public static function bootstrap() { self::loadLabelFile(); do_action('cma_labels_init'); /* You can use the following filters to add new labels for CMA: add_filter('cma_labels_init_labels', function($labels) { $labels['label_name'] = array('default' => 'Value', 'desc' => 'Description', 'category' => 'Other'); return $labels; }); add_filter('cma_labels_init_labels_by_categories', function($labelsByCategories) { $labelsByCategories['Other'][] = 'label_name'; return $labelsByCategories; }); */ self::$labels = apply_filters('cma_labels_init_labels', self::$labels); self::$labelsByCategories = apply_filters('cma_labels_init_labels_by_categories', self::$labelsByCategories); }