src/Taxonomy/Builder.php
private function _setLabel($label) {
		if ($label && is_array($label)) {
			$this->label = $label;
			return true;
		}

		$singular = $this->singular;
		$plural = $this->plural ?: $singular . $this->plural_end;

		$this->label = array(
			'name' => ucfirst($plural),
			'singular' => ucfirst($singular),
			'menu_name' => ucfirst($singular),
			'all_items' => __('All', 'wba_taxonomy') . ' ' . $plural,
			'parent_item' => __('Parent', 'wba_taxonomy') . ' ' . $singular,
			'parent_item_colon' => __('Parent', 'wba_taxonomy') . ' ' . $singular,
			'new_item_name' => __('New', 'wba_taxonomy') . ' ' . $singular,
			'add_new_item' => __('Add New', 'wba_taxonomy') . ' ' . $singular,
			'edit_item' => __('Edit', 'wba_taxonomy') . ' ' . $singular,
			'update_item' => __('Update', 'wba_taxonomy') . ' ' . $singular,
			'view_item' => __('View', 'wba_taxonomy') . ' ' . $singular,
			'separate_items_with_commas' => __('Separate', 'wba_taxonomy') . strtolower($singular) . ' ' . __('with commas', 'wba_taxonomy'),
			'add_or_remove_items' => __('Add or remove', 'wba_taxonomy') . strtolower($singular),
			'choose_from_most_used' => __('Choose from the most used', 'wba_taxonomy'),
			'popular_items' => ucfirst($plural),
			'search_items' => __('Search', 'wba_taxonomy') . ' ' . $singular,
			'not_found' => __('Not Found', 'wba_taxonomy'),
			'no_terms' => __('No', 'wba_taxonomy') . ' ' . $singular,
			'items_list' => ucfirst($singular) . ' ' . __('list', 'wba_taxonomy'),
			'items_list_navigation' => ucfirst($singular) . ' ' . __('list navigation', 'wba_taxonomy'),
		);

		return true;
	}
private function _setLabel($label) {
		if ($label && is_array($label)) {
			$this->label = $label;
			return true;
		}

		$singular = $this->singular;
		$plural = $this->plural ?: $singular . $this->plural_end;

		$this->label = array(
			'name' => ucfirst($plural),
			'singular' => ucfirst($singular),
			'menu_name' => ucfirst($singular),
			'all_items' => __('All', 'wba_taxonomy') . ' ' . $plural,
			'parent_item' => __('Parent', 'wba_taxonomy') . ' ' . $singular,
			'parent_item_colon' => __('Parent', 'wba_taxonomy') . ' ' . $singular,
			'new_item_name' => __('New', 'wba_taxonomy') . ' ' . $singular,
			'add_new_item' => __('Add New', 'wba_taxonomy') . ' ' . $singular,
			'edit_item' => __('Edit', 'wba_taxonomy') . ' ' . $singular,
			'update_item' => __('Update', 'wba_taxonomy') . ' ' . $singular,
			'view_item' => __('View', 'wba_taxonomy') . ' ' . $singular,
			'separate_items_with_commas' => __('Separate', 'wba_taxonomy') . strtolower($singular) . ' ' . __('with commas', 'wba_taxonomy'),
			'add_or_remove_items' => __('Add or remove', 'wba_taxonomy') . strtolower($singular),
			'choose_from_most_used' => __('Choose from the most used', 'wba_taxonomy'),
			'popular_items' => ucfirst($plural),
			'search_items' => __('Search', 'wba_taxonomy') . ' ' . $singular,
			'not_found' => __('Not Found', 'wba_taxonomy'),
			'no_terms' => __('No', 'wba_taxonomy') . ' ' . $singular,
			'items_list' => ucfirst($singular) . ' ' . __('list', 'wba_taxonomy'),
			'items_list_navigation' => ucfirst($singular) . ' ' . __('list navigation', 'wba_taxonomy'),
		);

		return true;
	}
private function _setLabel ( $ label ) { if ( $ label && is_array ( $ label ) ) { $ this -> label = $ label ; return true ; } $ singular = $ this -> singular ; $ plural = $ this -> plural ? : $ singular . $ this -> plural_end ; $ this -> label = array ( 'name' => ucfirst ( $ plural ) , 'singular' => ucfirst ( $ singular ) , 'menu_name' => ucfirst ( $ singular ) , 'all_items' => __ ( 'All' , 'wba_taxonomy' ) . ' ' . $ plural , 'parent_item' => __ ( 'Parent' , 'wba_taxonomy' ) . ' ' . $ singular , 'parent_item_colon' => __ ( 'Parent' , 'wba_taxonomy' ) . ' ' . $ singular , 'new_item_name' => __ ( 'New' , 'wba_taxonomy' ) . ' ' . $ singular , 'add_new_item' => __ ( 'Add New' , 'wba_taxonomy' ) . ' ' . $ singular , 'edit_item' => __ ( 'Edit' , 'wba_taxonomy' ) . ' ' . $ singular , 'update_item' => __ ( 'Update' , 'wba_taxonomy' ) . ' ' . $ singular , 'view_item' => __ ( 'View' , 'wba_taxonomy' ) . ' ' . $ singular , 'separate_items_with_commas' => __ ( 'Separate' , 'wba_taxonomy' ) . strtolower ( $ singular ) . ' ' . __ ( 'with commas' , 'wba_taxonomy' ) , 'add_or_remove_items' => __ ( 'Add or remove' , 'wba_taxonomy' ) . strtolower ( $ singular ) , 'choose_from_most_used' => __ ( 'Choose from the most used' , 'wba_taxonomy' ) , 'popular_items' => ucfirst ( $ plural ) , 'search_items' => __ ( 'Search' , 'wba_taxonomy' ) . ' ' . $ singular , 'not_found' => __ ( 'Not Found' , 'wba_taxonomy' ) , 'no_terms' => __ ( 'No' , 'wba_taxonomy' ) . ' ' . $ singular , 'items_list' => ucfirst ( $ singular ) . ' ' . __ ( 'list' , 'wba_taxonomy' ) , 'items_list_navigation' => ucfirst ( $ singular ) . ' ' . __ ( 'list navigation' , 'wba_taxonomy' ) , ) ; return true ; }
Sets the The labels for post type.

@param array $label the label

@return self
Sets the The labels for post type .