Snippets

Visser Labs Export all field data in uppercase characters

Created by Michael Visser

File functions.php Added

  • Ignore whitespace
  • Hide word diff
+<?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' );
+?>
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.