Function Hook_ecommerce_tax_taxjar->render_field_value

Definitions

sources/hooks/systems/ecommerce_tax/taxjar.php

  • Render the tax code field value for this tax service.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$tax_code ID_TEXT No No required parameter N/A N/A The tax code of the field

Returns

  • The render text as an escaped string or Tempcode (null: the code is not applicable with this tax service)
  • Type: ?mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Render the tax code field value for this tax service.
 *
 * @param  ID_TEXT $tax_code The tax code of the field
 * @return ?mixed The render text as an escaped string or Tempcode (null: the code is not applicable with this tax service)
 */

public function render_field_value(string $tax_code)