Add player lists
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
function sp_sponsor_tax_init() {
|
||||
$name = __( 'Sponsors', 'sportspress' );
|
||||
$singular_name = __( 'Sponsor', 'sportspress' );
|
||||
$lowercase_name = __( 'sponsors', 'sportspress' );
|
||||
$object_type = array( 'sp_team', 'sp_event', 'sp_player', 'sp_tournament', 'sp_venue' );
|
||||
$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