get_meta() public method

public get_meta ( $id = false, $key = false )
function get_rtmedia_meta($id = false, $key = false)
{
    if (apply_filters('rtmedia_use_legacy_meta_function', false)) {
        $rtmediameta = new RTMediaMeta();
        return $rtmediameta->get_meta($id, $key);
    } else {
        // check whether to get single value or multiple
        $single = $key === false ? false : true;
        // use WP's default get_metadata function replace column name from "media_id" to "id" in query
        add_filter('query', 'rtm_filter_metaid_column_name');
        $meta = get_metadata('media', $id, $key, $single);
        remove_filter('query', 'rtm_filter_metaid_column_name');
        return $meta;
    }
}
function get_rtmedia_meta($id = false, $key = false)
{
    $rtmediameta = new RTMediaMeta();
    return $rtmediameta->get_meta($id, $key);
}