wpmdb_export_filename
wpmdb_export_filename
Appears in: 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_export_filename') is found 1 times:
- /class/Common/Sql/Table.php line 304
$dump_name = get_bloginfo() ? strtolower(preg_replace('/\s+/', '', get_bloginfo())) : sanitize_title_with_dashes(DB_NAME); //Strip out any non-alphanumeric characters $dump_name = preg_replace("/[^A-Za-z0-9 ]/", '', $dump_name); $dump_name .= 'export' === $migration_type ? '' : '-' . $migration_type; $dump_name = apply_filters('wpmdb_export_filename', sprintf('%s-%s',$dump_name, $datetime)); $dump_info = sprintf('%s%s%s-%s.sql', $this->filesystem->get_upload_info($info_type), $ds, $dump_name, $session_salt); return ($info_type == 'path' ? $this->filesystem->slash_one_direction($dump_info) : $dump_info); } /**