WC_Stripe_Frontend_Scripts
in package

Handles script enqueuement and output of params needed by the plugin.

Tags
author

PaymentPlugins

Table of Contents

Properties

$assets_api  : mixed
$enqueued_scripts  : mixed
$global_scripts  : mixed
$localized_data  : mixed
$localized_scripts  : mixed
$prefix  : mixed
$registered_scripts  : mixed
$scripts_registered  : mixed

Methods

__construct()  : mixed
assets_url()  : mixed
enqueue_checkout_scripts()  : mixed
enqueue_local_payment_scripts()  : mixed
enqueue_script()  : mixed
enqueue_scripts()  : mixed
Enqueue all frontend scripts needed by the plugin
get_handle()  : mixed
get_min()  : mixed
initialize()  : mixed
localize_script()  : mixed
localize_scripts()  : mixed
print_footer_scripts()  : mixed
register_script()  : mixed
register_scripts()  : mixed
get_page_id()  : mixed

Properties

Methods

enqueue_script()

public enqueue_script(mixed $handle[, mixed $src = '' ][, mixed $deps = array() ][, mixed $version = '' ][, mixed $footer = true ]) : mixed
Parameters
$handle : mixed
$src : mixed = ''
$deps : mixed = array()
$version : mixed = ''
$footer : mixed = true

localize_script()

public localize_script(string $handle, array<string|int, mixed> $data[, string $object_name = '' ]) : mixed
Parameters
$handle : string
$data : array<string|int, mixed>
$object_name : string = ''

register_script()

public register_script(mixed $handle, mixed $src[, mixed $deps = array() ][, mixed $version = '' ][, mixed $footer = true ]) : mixed
Parameters
$handle : mixed
$src : mixed
$deps : mixed = array()
$version : mixed = ''
$footer : mixed = true

        
On this page

Search results