wpmdb_backup_header_url

wpmdb_backup_header_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('wpmdb_backup_header_url') is found 1 times:

  • /class/Common/Sql/Table.php line 1935
            $this->stow('# ' . sprintf(__('Generated: %s', 'wp-migrate-db'), date('l j. F Y H:i T')) . "\n", false, $fp);
            $this->stow('# ' . sprintf(__('Hostname: %s', 'wp-migrate-db'), DB_HOST) . "\n", false, $fp);
            $this->stow('# ' . sprintf(__('Database: %s', 'wp-migrate-db'), $this->table_helper->backquote(DB_NAME)) . "\n", false, $fp);
    
            $home_url = apply_filters('wpmdb_backup_header_url', Util::home_url());
            $url      = preg_replace('(^https?:)', '', $home_url, 1);
            $key      = array_search($url, $search_replace_values['replace_old']);
    
            if (false !== $key) {
                $url = $search_replace_values['replace_new'][$key];
            } else {