Added support for WP plugin