wcv_add_product_url

Description

apply_filters( 'wcv_add_product_url', WCVendors_Pro_Dashboard::get_dashboard_page_url( 'product/edit/' ) )

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

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

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $value // hand edit value here 
}
add_filter( 'wcv_add_product_url', 'my_filter_function', 10, 1 );

To remove the filter, copy this sample

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

Defined

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

  • wcvendors-pro/public/class-wcvendors-pro-product-controller.php line 1700
    $add_url = apply_filters( 'wcv_add_product_url', WCVendors_Pro_Dashboard::get_dashboard_page_url( 'product/edit/' ) );

filters

Updated on January 9, 2017

Was this article helpful?