Except as otherwise provided in chapter
60.04 RCW, any mortgage or deed of trust shall be prior to all liens, mortgages, deeds of trust, and other encumbrances that have not been recorded before the recording of the mortgage or deed of trust to the extent of all sums secured by the mortgage or deed of trust regardless of when the same are disbursed or whether the disbursements are obligatory.