Show full URL in media library overview

PHOTO EMBED

Thu Jul 22 2021 21:30:27 GMT+0000 (Coordinated Universal Time)

Saved by @Alz #php

// Show full URL in media library overview
function muc_column( $cols ) {
        $cols["media_url"] = "URL";
        return $cols;
}
function muc_value( $column_name, $id ) {
        if ( $column_name == "media_url" ) echo '<input type="text" width="100%" onclick="jQuery(this).select();" value="'. wp_get_attachment_url( $id ). '" />';
}
add_filter( 'manage_media_columns', 'muc_column' );
add_action( 'manage_media_custom_column', 'muc_value', 10, 2 );
content_copyCOPY

https://borishoekmeijer.nl/tutorials/wordpress-snippet-collection/