WordPress File wp-includes/meta.php

_get_meta_table()

Retrieves the name of the metadata table for the specified object type.

get_meta_sql()

Given a meta query, generates SQL clauses to be appended to a main query.

get_metadata()

Retrieves the value of a metadata field for the specified object type and ID.