This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message": "Lead successfully deleted", | |
"ID": 96988 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This example seeks to help developers understand how to access the /leads/modify endpoint. | |
*/ | |
if ( !class_exists( 'Example_API_Calls' )) { | |
class Example_API_Calls { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results_count": 1, | |
"results_per_page": 50, | |
"max_pages": 0, | |
"results": { | |
"96988": { | |
"ID": 96988, | |
"lists": { | |
"113": { | |
"term_id": 113, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This example seeks to help developers understand how to access the /leads/add endpoint. | |
*/ | |
if ( !class_exists( 'Example_API_Calls' )) { | |
class Example_API_Calls { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results_count": 1, | |
"results_per_page": 50, | |
"max_pages": 0, | |
"results": { | |
"96988": { | |
"ID": 96988, | |
"lists": { | |
"110": { | |
"term_id": 110, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results_count": "800", | |
"results_per_page": "5", | |
"max_pages": 160, | |
"results": { | |
"96987": { | |
"ID": 96987, | |
"lists": { | |
"110": { | |
"term_id": 110, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* This example seeks to help developers understand how to access the /leads/ endpoint. | |
* | |
*/ | |
if ( !class_exists( 'Example_API_Calls' )) { | |
class Example_API_Calls { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( ‘inbound_lead_notification_email_headers’ , ‘some_function’ ); | |
function some_function( $headers ) { | |
$headers = "From: Custom From Name <[email protected]>\r\n"; | |
return $headers; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Record Impressions For Each Variation in CTA Object | |
* @param JSON ctas : a json string of {'cta':'vid'} | |
*/ | |
function wp_cta_record_impressions(ctas) { | |
/* Add Impressions to loaded varations*/ | |
jQuery.ajax({ | |
type: 'POST', | |
url: cta_reveal.admin_url, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Remove all tracking classes from cart page */ | |
add_action('wp_footer' , 'inbound_remove_cart_tracking_class' ); | |
/** | |
* Removes tracking classes from forms containing the name 'proceeed' | |
*/ | |
function inbound_remove_cart_tracking_class() { | |
?> |