Nice piece of code ! Its working very fine BUT I´m missing a call to load_plugin_textdomain(...) for translation issues of all the __(..) stuff. Is it a good idea to place it directly in the __constructor before the add_action(..) or is a add_filter( 'init', loaderFunction, 1 ) more applicable ? Can you give an advice or modify you sample ?