Plugin Contributor
Savvas
(@savvasha)
Hi @jesters94,
SportsPress uses standard WordPress tables to store most of its data by creating custom post types for things like teams, players, matches, and events. The main information is stored in the wp_posts table, while additional details about each item are saved as post meta in the wp_postmeta table. For example, player stats or match details are stored as custom fields linked to these posts. Taxonomies for leagues, positions, and seasons are managed using the default WordPress taxonomy tables (wp_terms, wp_term_taxonomy, and wp_term_relationships).
If you’re looking to pull stats or lists for your web page, you can query these tables by post type and get any associated custom meta data. For more advanced projects or to automate data retrieval, consider using the SportsPress REST API, which allows you to access teams, players, matches, and events with simple endpoints.
Thanks,
Savvas