Automattic\WooCommerce\Admin\API\Reports
DataStore::set_db_table_name
Set table name from database class.
Method of the class: DataStore{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = DataStore::set_db_table_name();
DataStore::set_db_table_name() DataStore::set db table name code WC 11.1.2
protected static function set_db_table_name() {
global $wpdb;
if ( static::$table_name && ! isset( $wpdb->{static::$table_name} ) ) {
$wpdb->{static::$table_name} = $wpdb->prefix . static::$table_name;
}
}