wcvendors_pro_add_commission_tab_path

Description

apply_filters( 'wcvendors_pro_add_commission_tab_path', 'partials/product/wcvendors-pro-product-meta-tab.php' );

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

$str = apply_filters( 'wcvendors_pro_add_commission_tab_path', $param );
  if ( ! empty( $str ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $str;
}
add_filter( 'wcvendors_pro_add_commission_tab_path','filter_wcvendors_pro_add_commission_tab_path', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcvendors_pro_add_commission_tab_path','filter_wcvendors_pro_add_commission_tab_path', 10, 1 );

Defined

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

  • wcvendors-pro/admin/class-wcvendors-pro-commission-controller.php line 228
    include( apply_filters( 'wcvendors_pro_add_commission_tab_path', 'partials/product/wcvendors-pro-product-meta-tab.php' ) );

filters

Updated on January 7, 2017

Was this article helpful?