wcv_feedback_page_error_msg

Description

apply_filters( 'wcv_feedback_page_error_msg', __( $str ) )

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

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

 // what has been modified...

}

 

To make a callback function, copy this sample

// the filter wcv_feedback_page_error_msg callback
function filter_wcv_feedback_page_error_msg( $param ) {
// do your thing here :-) ... 
  return $str;
}
add_filter( 'wcv_feedback_page_error_msg', 'filter_wcv_feedback_page_error_msg', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcv_feedback_page_error_msg', 'filter_wcv_feedback_page_error_msg', 10, 1 );

Defined

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

  • wcvendors-pro/includes/class-wcvendors-pro-ratings-controller.php line 215
    echo sprintf( apply_filters( 'wcv_feedback_page_error_msg', __( 'This page should not be accessed directly. Please return to the my account page and select an order to leave feedback.', 'wcvendors-pro' ) ), get_permalink( wc_get_page_id( 'myaccount' ) ) );
    
    

filters

Updated on January 9, 2017

Was this article helpful?