Sometimes you need to find out who has purchased a specific product and contact them This snippet will use SQL SELECT to query the database and produce a table of clickable order numbers (to take you quickly to the specific order edit screen), email address, First Name and Last Name Where to put this code? […]
Debug to Console
Sharpspring API – updateLeads
Having established the Lead ID (using getLeads) and the systemName of the custom field to be updated, the updateLeads method can be used to update the Lead record
Sharpspring API – getLeads
Using the Sharpspring API to find the Lead ID of a Lead if you only have the the Lead email address available
Sharpspring API – getFields
Using the Sharpspring API method getFields to find the Lead ID of a Lead from the Lead email address
Using Yoast Schema Filter wpseo_schema_organization_social_profiles
Adding Citations to Yoast WordPress SEO schema Yoast WordPress SEO 12.1 included a new filter – wpseo_schema_organization_social_profiles to filter an organization’s social profiles in the schema output. You can use this filter to modify social profiles (sameAs attribute) in the Organization schema object. Note: you don’t have to use this just for adding social profiles […]
Woocommerce – Bulk Price Discount in cart
Do give a cheaper unit price if more than 1 is purchased
Gravity Forms – Create new post from submission
Gravity forms hook gform_after_submission is executed at the end of the submission process (after form validation, the notifications and the entry creation) As such, this is the ideal hook to use to perform any actions that need to take place with the entry data – ie, feed data to a 3rd party application) As with […]
Gravity Forms – Extract Value from Multiselect
With Gravity forms multi select, the data is stored in an array and as such is not in a useable form if you are using rgar rgar is a gravity forms function that can be used to extract a specific property of an array without need to check if that property exists So if you […]
Gravity Forms – Populate Dropdown with Taxonomy Terms
The Gravity forms gform_pre_render filter is executed before the form is displayed and can be used to manipulate the form the prior to rendering the form. To limit the scope of your function to a specific form, append the form id to the end of the hook name. (format: gform_pre_render_FORMID) In this case, I am using […]