This file contains 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
// add new item type (working) | |
function add_sizeproduct_line_item_type( $types = array() ) { | |
$types = array_merge( $types, array( 'sizeproduct' => si__( 'Size Product' ) ) ); | |
return $types; | |
} | |
add_filter( 'si_line_item_types', 'add_sizeproduct_line_item_type' ); | |
// replace new item types column 'rate' with 'Per SQM' (not working) |