public network_tables ( ) : string[] | ||
return | string[] | The names of all network tables. |
public function network_tables()
{
$all_tables = $this->all_tables();
$network_tables = $this->extract_tables_from_schema(wp_get_db_schema('global'), $this->db->base_prefix);
return array_intersect($all_tables, $network_tables);
}