Add views counter and style tweaks
This commit is contained in:
@@ -17,8 +17,9 @@ function sportspress_admin_menu( $position ) {
|
||||
$menu[ $position ] = array( '', 'read', 'separator-sportspress', '', 'wp-menu-separator sportspress' );
|
||||
endif;
|
||||
|
||||
// Remove "Positions" link from Media submenu
|
||||
// Remove "Venues" and "Positions" link from Media submenu
|
||||
unset( $submenu['upload.php'][17] );
|
||||
unset( $submenu['upload.php'][18] );
|
||||
|
||||
// Remove "Leagues" link from Players submenu
|
||||
unset( $submenu['edit.php?post_type=sp_player'][15] );
|
||||
|
||||
Reference in New Issue
Block a user