mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Add card fields (WIP)
This commit is contained in:
parent
4edf9c1f46
commit
692d3672c4
11 changed files with 184 additions and 2516 deletions
|
@ -28,20 +28,6 @@ class CardFieldsModule implements ModuleInterface {
|
|||
return;
|
||||
}
|
||||
|
||||
add_action(
|
||||
'wp_enqueue_scripts',
|
||||
function () use ( $c ) {
|
||||
$module_url = $c->get( 'card-fields.module.url' );
|
||||
wp_enqueue_script(
|
||||
'ppcp-card-fields-boot',
|
||||
untrailingslashit( $module_url ) . '/assets/js/boot.js',
|
||||
array( 'jquery' ),
|
||||
$c->get( 'ppcp.asset-version' ),
|
||||
true
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* Param types removed to avoid third-party issues.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue