Check if table exists in wordpress