How to change the value “uploaded to” in the media library (WordPress 4.0)

You’ll need to do 2 things. First, filter the current media columns.

add_filter('manage_media_columns' , 'newMediaColumnNames');
function newMediaColumnNames( $columns ) {

    //remove the old column - optional
    unset( $columns['parent'] ); 

    //add a new one to take it's place
    $columns['new_uploaded_to'] = __('New Uploaded To');

    return $columns;
}

I was not able to find a way to edit the content for the pre-existing Uploaded To column so we remove the current one and replace it with our own, or just add a new column for the custom content – that’s up to you.

The next step is to add the content for the new column:

add_action('manage_media_custom_column', 'newMediaColumnContent', 1, 2);

function newMediaColumnContent( $column_name, $id ){

    switch($column_name) {
        case 'new_uploaded_to':
            echo 'Custom Content Here';
         break;
    }
}

You’ll need to add the logic to add the actual content you want to display where the echo 'Custom Content Here'; is. Whatever you echo out there will be displayed in the new column you created.

Hope this helps!