wcv_notify_vendor_tax_label

Description

apply_filters('wcv_notify_vendor_tax_label', __( 'Tax Subtotal:', 'wcvendors' ) )

Parameters ( 1 ) ( string )

Usage Examples

To run the filter, copy this sample

$str = apply_filters('wcv_notify_vendor_tax_label', __( 'Tax Subtotal:', 'wcvendors' ) );
  if ( ! empty( $str ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

// the filter wcv_notify_vendor_tax_label callback
function my_filter_function( $param )  {
  // do your thing here :-) ... 

  return $str;
}
add_filter( 'wcv_notify_vendor_tax_label' , 'my_filter_function', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcv_notify_vendor_tax_label', 'my_filter_function', 10, 1 );

Defined

This filter is defined in the following source file(s)

  • wc-vendors/classes/admin/emails/class-wc-notify-vendor.php line 111
    $return[ 'tax_subtotal']['label'] = apply_filters('wcv_notify_vendor_tax_label', __( 'Tax Subtotal:', 'wcvendors' ) ) ;

filters

Updated on January 12, 2017

Was this article helpful?