Definition:
function _get_meta_table($type) {}
Retrieve the name of the metadata table for the specified object type.
Parameters
- 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;
}
4325

February 12, 2011 


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