WPDev.one
Core Function
View Source on Trac ↗

_get_meta_table()

_get_meta_table( mixed $type )

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

Parameters 1 required

Name / Type Description
string

$type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.

Required

Return Value

((string)
| false) Metadata table name, or false if no metadata table exists

Function Information

Since Version
2.9.0
Source File
wp-includes/meta.php
Advertisement