angelleye_express_cancel_url

The WordPress Core angelleye express cancel url hook.

Description

apply_filters( 'angelleye_express_cancel_url', (unknown) $urlencode ); 

Parameters (1)

0. $urlencode (unknown) => urlencode($cancelURL)
The urlencode.

Usage

To run the hook, copy the example below.
  1. $urlencode = apply_filters( 'angelleye_express_cancel_url', $urlencode ); 
  2.  
  3. if ( !empty( $urlencode ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the angelleye_express_cancel_url callback 
  2. function filter_angelleye_express_cancel_url( $urlencode ) { 
  3. // make filter magic happen here... 
  4. return $urlencode
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'angelleye_express_cancel_url', 'filter_angelleye_express_cancel_url', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'angelleye_express_cancel_url', 'filter_angelleye_express_cancel_url', 10, 1 ); 

Defined (1)

The filter is defined in the following location(s).

/classes/wc-gateway-paypal-express-angelleye.php  
  1. $cancelURL = apply_filters('angelleye_express_cancel_url', urlencode($cancelURL));