wpmdb_target_table_name
wpmdb_target_table_name
Appears in: wp-migrate-db.1.0.10, wp-migrate-db.1.0.11, wp-migrate-db.1.0.12, wp-migrate-db.1.0.13, wp-migrate-db.1.0.14, wp-migrate-db.1.0.15, wp-migrate-db.1.0.16, wp-migrate-db.1.0.17, wp-migrate-db.1.0.2, wp-migrate-db.1.0.3, wp-migrate-db.1.0.4, wp-migrate-db.1.0.5, wp-migrate-db.1.0.6, wp-migrate-db.1.0.7, wp-migrate-db.1.0.8, wp-migrate-db.1.0.9, wp-migrate-db.2.0, wp-migrate-db.2.0.1, wp-migrate-db.2.0.2, wp-migrate-db.2.1, wp-migrate-db.2.1.1, wp-migrate-db.2.1.2, wp-migrate-db.2.2.0, wp-migrate-db.2.2.2, wp-migrate-db.2.3.0, wp-migrate-db.2.3.1, wp-migrate-db.2.3.2, wp-migrate-db.2.3.3, wp-migrate-db.2.4.0, wp-migrate-db.2.4.1, wp-migrate-db.2.4.2, wp-migrate-db.2.5.0, wp-migrate-db.2.6.1, wp-migrate-db.2.6.10, wp-migrate-db.2.6.11, wp-migrate-db.2.6.3, wp-migrate-db.2.6.4, wp-migrate-db.2.6.5, wp-migrate-db.2.6.6, wp-migrate-db.2.6.7, wp-migrate-db.2.6.8, wp-migrate-db.2.6.9
Hook Type: filter
Displaying hooks found in version: wp-migrate-db.2.6.9apply_filters('wpmdb_target_table_name') is found 1 times:
- /class/Common/Sql/Table.php line 578
$temp_prefix = (isset($state_data['temp_prefix']) ? $state_data['temp_prefix'] : $this->props->temp_prefix); $site_details = empty($state_data['site_details']) ? array() : $state_data['site_details']; $subsite_migration = array_key_exists('mst_select_subsite', $state_data) && '1' === $state_data['mst_select_subsite']; $target_table_name = apply_filters('wpmdb_target_table_name', $table, $state_data, $site_details, $subsite_migration ); if (in_array($state_data['intent'], ['push', 'pull']) && !$subsite_migration) { $target_table_name = $this->prefix_target_table_name($target_table_name, $state_data); } $temp_table_name = $state_data["intent"] === 'import' ? $target_table_name : $temp_prefix . $target_table_name; $structure_info = $this->get_structure_info($table, [], $state_data); $row_start = $this->get_current_row($state_data);