nielslange
4/6/2017 - 10:12 AM

Debug loaded text domains

Debug loaded text domains

<?php
//* Debug loaded text domains
add_action('load_textdomain','debug_load_textdomain', 10, 2);
function debug_load_textdomain($domain , $mofile){
  printf('Trying <strong>%s</strong> at %s<br>', $domain, $mofile);
}