You can use the object_sync_for_salesforce_pull_object_allowed hook, which is documented here. You can use it to check for the Salesforce value you want.
Oh awesome, sorry I didn’t see that. Thank you for the speedy response! This software is fantastically easy to use, keep up the good work!
Thanks again,
Dan
Hi, @jonathanstegall
Thanks for redirecting to this link. I read the documentation and it makes sense. My only question would be where should I put the code? Thanks.
@fvl1987 that is a bigger question than I can answer for you. Many times people put that kind of stuff into a functions.php file inside the theme. There are lots of articles about this, like this one. We don’t provide support for the filters in this plugin aside from the documentation, but like I say there are a lot of resources out there about developing with WordPress.
Thanks, @jonathanstegall
Regarding the fields to be filtered, I am trying to pull only Contacts that have a checkbox checked. What value should I use? I’m pretty now at this, I truly appreciate your help.
Thanks
-
This reply was modified 6 years, 4 months ago by
fvl1987.
Well, here’s a really basic example of a plugin that I’ve used for this kind of thing in the past. https://github.com/jonathanstegall/example-salesforce-addon
Again, we don’t provide support for these hooks; if it doesn’t work I can’t provide further help for you; it’s out of scope for this forum. You may want to look into hiring a WordPress developer if you need to go further with this.
For now I’m going to consider this thread finished.