Day: March 7, 2013
<?php global $all_text_domains; add_filter( 'plugin_locale', function( $locale, $domain ) { global $all_text_domains; $all_text_domains[] = $domain; return $locale; }, 10, 2 ); add_action('admin_menu', function(){ add_options_page('TextDomains', 'TextDomains', 'administrator', 'textdomains', function(){ global $all_text_domains; echo '<pre>'; print_r( $all_text_domains ); echo '</pre>'; }); });
Screen Shot 2013-03-07 at 4.49.02 PM.png

Screen Shot 2013-03-07 at 4.47.04 PM.png

Screen Shot 2013-03-07 at 4.36.09 PM.png

Screen Shot 2013-03-07 at 3.37.14 PM.png

Screen Shot 2013-03-07 at 2.47.52 PM.png

Screen Shot 2013-03-06 at 12.09.19 PM.png
