Automattic\WooCommerce\Admin\API\Reports

DataStore::set_db_table_name()protected staticWC 1.0

Set table name from database class.

Method of the class: DataStore{}

No Hooks.

Return

null. Nothing.

Usage

$result = DataStore::set_db_table_name();

DataStore::set_db_table_name() code WC 7.3.0

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;
	}
}