As part of the work to support multiple fieldmaps on the same Salesforce object type, object maps need to be loaded with information about the fieldmap. #438
This fixes #437 by adding a new method, load_object_maps_by_salesforce, that takes the fieldmap as a parameter so we can specify the WordPress object type when loading object maps that are tied to a Salesforce ID.
What does this Pull Request do?
This fixes #437 by adding a new method,
load_object_maps_by_salesforce
, that takes the fieldmap as a parameter so we can specify the WordPress object type when loading object maps that are tied to a Salesforce ID.This also deprecates
load_all_by_salesforce
.How do I test this Pull Request?
Same steps as #420.