Used to create a Player object in the Sports Bench Plugin.
To create a new series object, you’ll need to use the
Sports_Bench\Classes\Base\Player namespace and then use
new Player( $player_selector ). If you’re using the player_id to create the player object, you must place (int) before the id number.
- string|int $player_selector — The player slug or id needed to create the player object.
- /includes/classes/base/class-player.php — 39