If anybody is interested in do the trick, my solution is this:
function remove_media_link( $form_fields, $post ) {
unset( $form_fields['url'] );
return $form_fields;
}
add_filter( 'attachment_fields_to_edit', 'remove_media_link', 10, 2 );
Related Posts:
- Uploading Images in the Link Manager
- Using Image insert control in code
- Create custom fields as image uploads [duplicate]
- How can I add an image upload field directly to a custom write panel?
- How does WP media uploader create the 3 different sized images, and how can I duplicate it
- How to increase the file size limit for media uploads?
- remove links from images using functions.php
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- Get attachment ID of author_meta image – Attachment Metadata
- Remove “From computer” media tab for posts with existing attachments?
- Disable slow media queries?
- How do i upload an image and return the image id?
- Automatically wrap post image in div
- How to upload image without post ID using the new media uploader?
- File exceeds upload_max_filesize, despite max filesize being large enough
- Rename attachments during upload
- How can I get a different image size, if all I have is the link?
- Add suffix to filename of uploaded images
- Upload media file problem
- Edit image preview is not displayed
- Get Stylesheet To Showup in WP Admin Panel Editor
- How to check if upload window came from the featured image link?
- media_sideload_image with rewritten urls?
- All Images on wordpress site broken
- The uploaded file exceeds!
- Taxonomies image
- Handling image uploads without thickbox
- How do I change the upload file size limit in single-site wordpress install?
- Link Attachment Image to Category
- Why is unfiltered_upload not working despite being enabled?
- Auto delete attachments that are older than x days
- wp_upload_bits Upload Specific Sizes Only
- Does wp_get_attachment_image_src also work with non-image files?
- Get images attached to a specific page
- WordPress Creates Unused (Unregistered) Image Sizes
- Upload attachment from external site
- WP_Query: attachment image in “full” size?
- Change maxlength of link_description in dashbord link section?
- Can I manage the photos that are pulled from Instagram before they are uploaded?
- How to disable post-thumbnail from generation?
- wp.media – drag&drop overlay stuck
- OSX El Capitan local install Maximum upload file size: 2 MB But php.ini set to 64M
- Organising and display thousands of photos in media library
- Troubles with code for upload a image
- After I upload a file to library its name converted to dashes
- Surround uploaded image link with div
- How to force attachment size for every post
- Upload unnattached image from frontend
- No wp-admin, wp-config, or .htaccess folder/file
- How to get WordPress to resize images for srcset?
- fails upload images in posts + wp-admin/upload.php 403 error
- Control resizing of uploaded images
- How can I remove unwanted word on my WP site?
- nothing comes up when i go to my website.com/wp-admin? Which files should I look for?
- Dismiss Admin Pointer Temporarily
- Image upload and path to custom field
- Upload images – Theme options
- Strange problem with HIdden Input field and WPAlchemy
- Use full size images in a specific gallery
- How to get the next and previous image title from attachment or gallery?
- WP Admin Login keeps redirecting to login
- Convert all uploaded PNG files to PNG-8 format
- WordPress admin right sidebar isn’t working
- How to change image’s author via a function when using GravityForms uploader? [closed]
- Random Characters in the end of every image url in post
- Possible to add “Even/Odd Classes” to image attachments via wp_get_attachment_image?
- image URL changed in wordpress
- Contextual help in wp-admin for non admins
- Add custom fields to a page template, admin side
- Error messages & can’t reach admin after upgrading to 3.4.1 WordPress
- Insert attachments from custom uploader into post (regular uploader style)
- Why wp redirects me to wp-login.php when I visit a rewritten wp-admin URL?
- Excluding post thumbnail from the attachment.php when using wordpress gallery
- How to move an image in a plugin to the upload directory and make it as a media of wordpress?
- Image not showing up in media loader success area – followup
- Metabox image upload value
- Link to full-size image for subscriber only
- How to call WordPress First Image Post or else Attached Image or Default
- WordPress admin section appears broken
- Is WordPress secure enough for a multi-user article directory?
- How to replace post image url before posting using api?
- changing the default picture size link url
- Alter the image used for a user who has not uploaded a custom image yet
- WordPress menu to change page title
- Uncaught SyntaxError: Unexpected Token Illegal
- How to get post id of first child of the same post type?
- Allow users to upload multiple images to their profile
- wp-admin blocking causing http error on uploads
- Output posts attached images as thumbnails linked to full-size with lightbox class
- Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?
- Is it possible to display my theme sidebar in wordpress admin?
- auto generated robots.txt problem
- Making a parent directory writable by the server
- Admin menu success message
- Gallery – custom html for inserting images
- Attachments without images
- Pages section (only) not loading after publishing large number of pages
- WordPress blog clone.. wp-admin issue
- Performance-issue in WP-admin with a lot of posts
- Get an image from the media library. Struggling with the code?