public function setLabelMany($labels, $many)
    {
        $labels->name = __($many);
        $labels->view_items = __('View ' . $many);
        $labels->search_items = __('Search ' . $many);
        $labels->not_found = __('No ' . strtolower($many) . ' Found');
        $labels->not_found_in_trash = __('No ' . strtolower($many) . ' found in Trash');
        $labels->all_items = __('All ' . $many);
        $labels->filter_items_list = __('Filter ' . $many . ' list');
        $labels->items_list_navigation = __($many . ' list navigation');
        $labels->items_list = __($many . ' list');
        $labels->menu_name = __($many);
        return $labels;
    }
public function setLabelMany($labels, $many)
    {
        $labels->name = __($many);
        $labels->view_items = __('View ' . $many);
        $labels->search_items = __('Search ' . $many);
        $labels->not_found = __('No ' . strtolower($many) . ' Found');
        $labels->not_found_in_trash = __('No ' . strtolower($many) . ' found in Trash');
        $labels->all_items = __('All ' . $many);
        $labels->filter_items_list = __('Filter ' . $many . ' list');
        $labels->items_list_navigation = __($many . ' list navigation');
        $labels->items_list = __($many . ' list');
        $labels->menu_name = __($many);
        return $labels;
    }
public function setLabelMany ( $ labels , $ many ) { $ labels -> name = __ ( $ many ) ; $ labels -> view_items = __ ( 'View ' . $ many ) ; $ labels -> search_items = __ ( 'Search ' . $ many ) ; $ labels -> not_found = __ ( 'No ' . strtolower ( $ many ) . ' Found' ) ; $ labels -> not_found_in_trash = __ ( 'No ' . strtolower ( $ many ) . ' found in Trash' ) ; $ labels -> all_items = __ ( 'All ' . $ many ) ; $ labels -> filter_items_list = __ ( 'Filter ' . $ many . ' list' ) ; $ labels -> items_list_navigation = __ ( $ many . ' list navigation' ) ; $ labels -> items_list = __ ( $ many . ' list' ) ; $ labels -> menu_name = __ ( $ many ) ; return $ labels ; }
Set post type plural labels

@param object $labels
@param string $many
@return object
Set post type plural labels