edward01s2
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Object Sync for Salesforce] WordPress CPT from Salesforce ContactSo I noticed in Salesforce there is an ‘Account.name’ field for the Contact Object already, but it doesn’t show in the mapping. Looking through the docs, I only see hooks to extend the mapping for WordPress objects. Is there a way to edit the SOQL call to pull that field as well, so I can map it?
Forum: Plugins
In reply to: [Object Sync for Salesforce] Set user_pass on Contact SyncNot sure if I’m using that function right…
add_action( 'object_sync_for_salesforce_set_more_user_data', 'save_more_my_user', 10, 3 ); function save_more_my_user( $user_id, $params, $action ) { $rp_key = get_reset_key( $user_id ); $result = array( 'data' => array( 'rp_key' => $rp_key, ), ); return $result; }rp_key is a field on the usermeta table.
Also what is the best way to see variable values from these functions?Forum: Plugins
In reply to: [Object Sync for Salesforce] Set user_pass on Contact SyncYeah that’s probably best. How would I, after the new user is saved in WP run a function based on the new user id and save that result to the user. I tried using ‘object_sync_for_salesforce_pull_success’ but that doesn’t run after a new user is created.
Viewing 3 replies - 1 through 3 (of 3 total)