/**
Paramétrage par défaut pour les attachments
Source : http://wpsnipp.com/index.php/functions-php/set-default-attachmentdisplay-
settings-alignment-link-size-wordpress/
*
*/
function seomix_adm_attachment_display_settings() {
update_option( 'image_default_align', 'center' );
update_option( 'image_default_link_type', 'file' );
update_option( 'image_default_size', 'large' );
}
add_action( 'after_setup_theme', 'seomix_adm_attachment_display_settings' );