Understanding the WordPress plugin architecture