Sample #4 of WordPress plugin using WPDK - see related documentation @ https://github.com/wpXtreme/wpdk/wiki for details.