wcv_ratings_link_url

Description

apply_filters( 'wcv_ratings_link_url', WCVendors_Pro_Vendor_Controller::get_vendor_store_url( $vendor_id ) . 'ratings/' );

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

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

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $str;
}
add_filter( 'wcv_ratings_link_url', 'filter_wcv_ratings_link_url', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcv_ratings_link_url', 'filter_wcv_ratings_link_url', 10, 1 );

Defined

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

  • wcvendors-pro/includes/class-wcvendors-pro-ratings-controller.php line 287
    $url = apply_filters( 'wcv_ratings_link_url', WCVendors_Pro_Vendor_Controller::get_vendor_store_url( $vendor_id ) . 'ratings/' );

filters

Updated on January 9, 2017

Was this article helpful?