MetaToCustomTableMigrator::get_meta_column_config()protectedWC 1.0

Specify meta keys config from source meta table.

Метод класса: MetaToCustomTableMigrator{}

No Hooks.


Array. Config, must be of the form. array( '$meta_key_1' => array( // $meta_key_1 is the name of meta_key in source meta table. 'type' => 'type of value, could be string/int/date/float', 'destination' => 'name of the column in column name where this data should be inserted in.', ), '$meta_key_2' => array( ...... ), .... ).


// protected - for code of main (parent) or child class
$result = $this->get_meta_column_config(): array;

Code of MetaToCustomTableMigrator::get_meta_column_config() WC 7.1.0

abstract protected function get_meta_column_config(): array;