Snippets

Visser Labs Export all field data in uppercase characters

Created by Michael Visser
<?php
function custom_woo_ce_wp_specialchars_decode( $string = '' ) {

    // Force all characters, including accented characters to be uppercase
    $string = mb_strtoupper( $string, 'UTF-8' ); 
    return $string;

}
add_filter( 'woo_ce_wp_specialchars_decode', 'custom_woo_ce_wp_specialchars_decode' );
?>

Comments (0)