giacomucci
3/27/2016 - 10:01 PM

Add media with full size without link by default

/* Fotos com tamanho completo sem link */
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 );