wcv_dashboard_view_store_url

Description

apply_filters( 'wcv_dashboard_view_store_url', array( 'label' => __( 'View Store', 'wcvendors-pro' ),'slug' => WCVendors_Pro_Vendor_Controller::get_vendor_store_url( get_current_user_id() )

Parameters (1) (array)

Usage Examples

To run the filter, copy this sample

$array_val = apply_filters( 'wcv_dashboard_view_store_url', $param );
  if ( ! empty( $array_val ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $array_val; 
}
add_filter( 'wcv_dashboard_view_store_url', 'my_filter_function', 10, 1 );

To remove the filter, copy this sample

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

Defined

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

  • wcvendors-pro/public/class-wcvendors-pro-dashboard.php line 552
    $store_url     = apply_filters( 'wcv_dashboard_view_store_url', array( 'label' => __( 'View Store', 'wcvendors-pro' ),'slug' => WCVendors_Pro_Vendor_Controller::get_vendor_store_url( get_current_user_id() ) ) );

filters

Updated on January 9, 2017

Was this article helpful?