make wordpress_id to pid