public site_tables ( integer $site_id ) : string[] | ||
$site_id | integer | Site ID. |
return | string[] | The names of all tables for the site with the given ID. |
public function site_tables($site_id)
{
$prefix = $this->db->get_blog_prefix($site_id);
return $this->extract_tables_from_schema(wp_get_db_schema('blog', $site_id), $prefix);
}