LDLMS_DB::get_table_name

LDLMS_DB::get_table_name( string $table_name = '',  string $table_section = '' )

Utility function to return the table name. This is to prevent hard-coding of the table names throughout the code files.


Description #


Parameters #

$table_name

(string) (Optional) Name of table to return full table name.

Default value: ''

$table_section

(string) (Optional) Table section prefix.

Default value: ''


Return #

(string) Table Name if found.


Source #

File: includes/class-ldlms-db.php


Changelog #

Changelog
Version Description
2.6.0 Introduced.