Skip to main content

fc_vat_js_settings

Type: Filter

Filters the JavaScript settings object output as fcVATSettings.

Printed on checkout (except the order-received and order-pay screens), on the account edit-address and add-payment-method screens, and on the admin order edit screen. Default keys:

  • verVAT (string) Plugin version.
  • assetsVersionVAT (string) Asset version appended to script and style URLs.
  • jsPathVAT (string) Base URL of the plugin js directory.
  • jsLibPathVAT (string) Base URL of the plugin js/lib directory.
  • cssPathVAT (string) Base URL of the plugin css directory.

Signature​

apply_filters( 'fc_vat_js_settings', $settings );

Parameters​

NameTypeDescription
$settingsarrayPlugin settings passed to frontend and admin scripts.

Since​

  • 2.1.0

Source​

inc/enqueue.php