????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/tempvsty/pontiacques.org/wp-content/plugins/give/src/DonationSummary/ |
Upload File : |
<?php
namespace Give\DonationSummary;
/**
* @since 2.17.0
*/
class Assets
{
/**
* @since 2.17.0
*/
public function loadFrontendAssets()
{
wp_enqueue_style(
'give-donation-summary-style-frontend',
GIVE_PLUGIN_URL . 'build/assets/dist/css/give-donation-summary.css',
[],
GIVE_VERSION
);
wp_enqueue_script(
'give-donation-summary-script-frontend',
GIVE_PLUGIN_URL . 'build/assets/dist/js/give-donation-summary.js',
['wp-i18n'],
GIVE_VERSION,
true
);
wp_localize_script(
'give-donation-summary-script-frontend',
'GiveDonationSummaryData',
[
'currencyPrecisionLookup' => array_map(function ($currency) {
return $currency['setting']['number_decimals'];
}, give_get_currencies_list()),
'recurringLabelLookup' => function_exists('give_recurring_get_default_pretty_periods')
? give_recurring_get_default_pretty_periods()
: [],
]
);
}
}