atpCustom Reference

bazaarvoice_extension extends abstract_extension
in package

Extension: bazaarvoice_extension - bazaarvoice integration - ATP Custom Plugin for WordPress

Tags
category

WordPress Plugin

author

Kevin Burkholder KBurkholder@EarthAsylum.com

copyright

Copyright (c) 2025 American Telecast Products

Table of Contents

BV_LOADER  = "https://apps.bazaarvoice.com/deployments/%s/main_site/%s/en_US/bv.js"
VERSION  = '25.0423.1'
__construct()  : void
constructor method
addActionsAndFilters()  : void
Add filters and actions - called from main plugin
addShortcodes()  : void
Add plugin shortcodes
bvDivCallback()  : void
BazaarVoice shortcode callback
enqueueLoaderScript()  : void
output the bv.js script tag
enqueueTransactionScript()  : string
get the confirmation ROI beacon
initialize()  : void
initialize method - called from main plugin
page_content_tag()  : void
page body top
page_footer_tag()  : void
page footer tag

Constants

BV_LOADER

public string BV_LOADER = "https://apps.bazaarvoice.com/deployments/%s/main_site/%s/en_US/bv.js"

BV Loader script url https://apps.bazaarvoice.com/deployments/<client_name>/<site_ID>///bv.js

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

bvDivCallback()

BazaarVoice shortcode callback

public bvDivCallback([mixed $atts = null ][, mixed $content = null ][, mixed $tag = '' ]) : void
Parameters
$atts : mixed = null
$content : mixed = null
$tag : mixed = ''
Return values
void

enqueueLoaderScript()

output the bv.js script tag

public enqueueLoaderScript() : void
Return values
void

enqueueTransactionScript()

get the confirmation ROI beacon

public enqueueTransactionScript([mixed $order = null ]) : string
Parameters
$order : mixed = null
Return values
string
  • the JavaScript <script> tag used in the confirmation field

initialize()

initialize method - called from main plugin

public initialize() : void
Return values
void

Search results