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