Added WP version grab

Signed-off-by: Alex Rydzak <alex@rydzak.me>