PHP: Wordpress Plugin Snippet