Remove unused birthdays stylesheet reference
This commit is contained in:
@@ -34,7 +34,6 @@ class SportsPress_Birthdays {
|
|||||||
add_filter( 'sportspress_player_details', array( $this, 'add_player_details' ), 20, 2 );
|
add_filter( 'sportspress_player_details', array( $this, 'add_player_details' ), 20, 2 );
|
||||||
add_filter( 'sportspress_staff_details', array( $this, 'add_staff_details' ), 20, 2 );
|
add_filter( 'sportspress_staff_details', array( $this, 'add_staff_details' ), 20, 2 );
|
||||||
|
|
||||||
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
|
||||||
add_action( 'sportspress_widgets', array( $this, 'widgets' ) );
|
add_action( 'sportspress_widgets', array( $this, 'widgets' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,10 +170,6 @@ class SportsPress_Birthdays {
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function admin_enqueue_scripts() {
|
|
||||||
wp_enqueue_style( 'sportspress-birthdays-admin', SP_BIRTHDAYS_URL . 'css/admin.css', array( 'sportspress-admin-menu-styles' ), time() );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register widgets
|
* Register widgets
|
||||||
|
|||||||
Reference in New Issue
Block a user