How wordpress accesses its own database

Hi I’m just curious as to how WordPress accesses it’s own database, meaning that when I look into an admin page like link-manager.php or class-wp-list-table.php I don’t see any occurences of $wpdb.

So again, is there an internal way that WordPress queries its own DB?

If so, could I use that type of function to call my own queries?

1 Answer
1

WordPress uses only $wpdb to query db. This is the best practice to use $wpdb in WordPress. Read more about wpdb class in codex.

Leave a Comment