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
const { uniqBy } = require("lodash"); | |
const glob = require("glob-promise"); | |
const fs = require("fs").promises; | |
glob("episodes-data/*.json") | |
.then((files) => { | |
// read the folder or folders if you want: example json/**/*.json | |
return Promise.all( | |
files.map((file) => { | |
return fs | |
.readFile(file, "utf8") |
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
assets/js/base/components/cart-checkout/address-form/index.js -> assets/js/base/components/text-input/index.js -> assets/js/base/components/text-input/validated.js -> assets/js/base/context/index.js -> assets/js/base/context/cart-checkout/index.js -> assets/js/base/context/cart-checkout/payment-methods/index.js -> assets/js/base/context/cart-checkout/payment-methods/payment-method-data-context.js -> assets/js/base/hooks/index.js -> assets/js/base/hooks/payment-methods/index.js -> assets/js/base/hooks/payment-methods/use-payment-method-interface.js -> assets/js/base/components/cart-checkout/index.js -> assets/js/base/components/cart-checkout/address-form/index.js | |
assets/js/base/components/cart-checkout/index.js -> assets/js/base/components/cart-checkout/address-form/index.js -> assets/js/base/components/text-input/index.js -> assets/js/base/components/text-input/validated.js -> assets/js/base/context/index.js -> assets/js/base/context/cart-checkout/index.js -> assets/js/base/context/cart-checkout/paym |
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 | |
/** | |
* A class to add support for webhooks endpoints. | |
*/ | |
class Yalidine_Shipping_Webhooks { | |
/** | |
* The processing statuses. | |
* |
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
let selectedValue = null; | |
wp.data.subscribe( () => { | |
// This is only needed for fields registered in Contact or Additional, address fields are always pushed and you can use other hooks. | |
const additionalFields = wp.data | |
.select( 'wc/store/checkout' ) | |
.getAdditionalFields(); | |
// Use the same id you used to register your field. | |
const donationAmount = additionalFields[ 'my-plugin/donation' ]; |
OlderNewer