Sample #3 of WordPress plugin using WPDK - see related documentation @ http://wpxtreme.github.io/wpdk/documentation/html/index.html for details.