Add player lists
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
function sp_position_tax_init() {
|
||||
$name = __( 'Positions', 'sportspress' );
|
||||
$singular_name = __( 'Position', 'sportspress' );
|
||||
$lowercase_name = __( 'position', 'sportspress' );
|
||||
$object_type = array( 'sp_player', 'sp_staff' );
|
||||
$labels = sp_tax_labels( $name, $singular_name );
|
||||
$labels = sp_tax_labels( $name, $singular_name, $lowercase_name );
|
||||
$args = array(
|
||||
'label' => $name,
|
||||
'labels' => $labels,
|
||||
|
||||
Reference in New Issue
Block a user