Can this field in Media Upload dialog come from Enfold?
<input type=”text” class=”text” id=”attachments-2025-av-custom-link” name=”attachments[2025][av-custom-link]” value=””>
If yes, could you please tell me how to remove – not hide – this field?
Thank you.
Hey unavailable!
Try adding this to the bottom of your functions.php file.
add_action( 'init', 'enfold_customization_remove_custom_link' );
function enfold_customization_remove_custom_link() {
remove_filter( 'attachment_fields_to_edit', 'admin_attachment_field_media_author_credit', 10, 2 );
}
Cheers!
Elliott
Thank you. I commented everything in /enfold/config-templatebuilder/avia-template-builder/php/media.class.php
from line 78 down.
Nothing broke. Phew.
But your solution is better, of course.