Alternative_Heap::get_alt_prefix PHP Метод

get_alt_prefix() публичный статический Метод

Returns the table prefix for an alternative heap
public static get_alt_prefix ( $alt_heap = "" )
    public static function get_alt_prefix($alt_heap = "")
    {
        global $wpdb;
        $alt_prefix = $wpdb->prefix . 'tmp_';
        if (!empty($alt_heap)) {
            $alt_prefix .= $alt_heap . '_';
        }
        return $alt_prefix;
    }