atpCustom Reference

nuance_chat_extension extends abstract_extension
in package

Extension: nuance_chat_extension - online chat interface & integration - ATP Custom Plugin for WordPress

Tags
category

WordPress Plugin

author

Kevin Burkholder KBurkholder@EarthAsylum.com

copyright

Copyright (c) 2022 American Telecast Products

version
4.x
see
https://eacDoojigger.earthasylum.com/phpdoc/
used-by

\EarthAsylumConsulting\abstract_core

uses
abstract_extension

Table of Contents

VERSION  = '23.1103.1'
__construct()  : void
constructor method
addActionsAndFilters()  : void
Add filters and actions - called from main plugin
body_scripts()  : void
page body
chat_debugging()  : array<string|int, mixed>
Get the chat array for debugging
check_cart_remove()  : void
check item removed from cart
get_chat_array()  : mixed
get chat values
getChatId()  : string
get the javascript for the qualified sale event
getScriptTag()  : string
get the script tag
head_scripts()  : void
page head
initialize()  : void
initialize method - called from main plugin
saveChatId()  : void
Save the chat id atpCustom.AjaxRequest('nuance_chat.saveChatId',{chatid: evt.chatID, customerid: evt.customerID, agentid: evt.agentID, bizrule: evt.bizRuleName});
setDataPass()  : string
get the javascript for the data pass array
setSalesTracking()  : string
get the javascript for the sales tracking arrays

Constants

Methods

__construct()

constructor method

public __construct(object $plugin) : void
Parameters
$plugin : object

main plugin object

Return values
void

addActionsAndFilters()

Add filters and actions - called from main plugin

public addActionsAndFilters() : void
Return values
void

chat_debugging()

Get the chat array for debugging

public chat_debugging(mixed $debugging_array) : array<string|int, mixed>
Parameters
$debugging_array : mixed
Return values
array<string|int, mixed>

extended array with [ extension_name => [key=>value array] ]

check_cart_remove()

check item removed from cart

public check_cart_remove(mixed $cart_item_key[, mixed $wcCart = null ]) : void
Parameters
$cart_item_key : mixed
$wcCart : mixed = null
Return values
void

getChatId()

get the javascript for the qualified sale event

public getChatId() : string
Return values
string

getScriptTag()

get the script tag

public getScriptTag() : string
Return values
string
  • the script tag

initialize()

initialize method - called from main plugin

public initialize() : void
Return values
void

saveChatId()

Save the chat id atpCustom.AjaxRequest('nuance_chat.saveChatId',{chatid: evt.chatID, customerid: evt.customerID, agentid: evt.agentID, bizrule: evt.bizRuleName});

public saveChatId(mixed $params) : void
Parameters
$params : mixed
Return values
void

setDataPass()

get the javascript for the data pass array

public setDataPass() : string
Return values
string

setSalesTracking()

get the javascript for the sales tracking arrays

public setSalesTracking() : string
Return values
string

Search results