wpmdb_mf_media_upload_path

wpmdb_mf_media_upload_path

Hook Type: filter

See hook in core

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

apply_filters('wpmdb_mf_media_upload_path') is found 1 times:

  • /class/Common/Transfers/Files/PluginHelper.php line 174
     
            if ('media_files' === $stage) {
                $uploads_path = Util::get_wp_uploads_dir();
                $uploads_name = wp_basename($uploads_path);
                $abs_path     = apply_filters('wpmdb_mf_media_upload_path', WP_CONTENT_DIR . DIRECTORY_SEPARATOR . $uploads_name, $state_data);
            }
    
            $slashed  = $this->filesystem->slash_one_direction($abs_path);
            $date     = isset($_POST['date']) ? $state_data['date'] : null;
            $timezone = !empty($_POST['timezone']) ? $state_data['timezone'] : 'UTC';