wpmdb_export_filename

wpmdb_export_filename

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_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);
        }
    
        /**