function _get_meta_table($type) {}

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


  • string $type: Type of object to get metadata table for (e.g., comment, post, or user)

Return values

returns:Metadata table name, or false if no metadata table exists

Source code

function _get_meta_table($type) {

	global $wpdb;

	$table_name = $type . 'meta';

	if ( empty($wpdb->$table_name) )

		return false;

	return $wpdb->$table_name;



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: