wcv_admin_lockout_redirect_url

Description

apply_filters( 'wcv_admin_lockout_redirect_url', get_permalink( WCVendors_Pro::get_option( 'dashboard_page_id' ) ) );

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

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

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $str;
}
add_filter( 'wcv_admin_lockout_redirect_url', 'filter_wcv_admin_lockout_redirect_url', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcv_admin_lockout_redirect_url', 'filter_wcv_admin_lockout_redirect_url', 10, 2 );

Defined

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

  • wcvendors-pro/admin/class-wcvendors-pro-admin.php line 182
    $redirect_page = apply_filters( 'wcv_admin_lockout_redirect_url', get_permalink( WCVendors_Pro::get_option( 'dashboard_page_id' ) ) );

filters

Updated on January 7, 2017

Was this article helpful?