Description
apply_filters( 'wcv_product_commission_tab', true )
Parameters ( 1 ) ( boolean )
Usage Examples
To run the filter, copy this sample
$bool = apply_filters( 'wcv_product_commission_tab', true ); if ( ! empty( $bool ) ) { // what has been modified... }
To make a callback function, copy this sample
// the filter wcv_product_commission_tab callback function my_filter_function( $param ) { // do your thing here :-) ... return $bool; } add_filter( 'wcv_product_commission_tab' , 'my_filter_function', 10, 1 );
To remove the filter, copy this sample
//remove the filter remove_filter( 'wcv_product_commission_tab', 'my_filter_function', 10, 1 );
Defined
This filter is defined in the following source file(s)
- wc-vendors/classes/admin/class-product-meta.php line 26
if ( apply_filters( 'wcv_product_commission_tab', true ) ) {