angelleye_paypal_pro_shipping_text
The PayPal for WooCommerce angelleye paypal pro shipping text hook.
Description
Parameters (1)
- 0. $shipping (string) =>
'Shipping'
- The shipping.
Usage
- To run the hook, copy the example below.
- $shipping = apply_filters( 'angelleye_paypal_pro_shipping_text', $shipping );
- if ( !empty( $shipping ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the angelleye_paypal_pro_shipping_text callback
- function filter_angelleye_paypal_pro_shipping_text( $shipping ) {
- // make filter magic happen here...
- return $shipping;
- };
- // add the filter
- add_filter( 'angelleye_paypal_pro_shipping_text', 'filter_angelleye_paypal_pro_shipping_text', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'angelleye_paypal_pro_shipping_text', 'filter_angelleye_paypal_pro_shipping_text', 10, 1 );
Defined (2)
The filter is defined in the following location(s).
- /classes/wc-gateway-paypal-pro-angelleye.php
- 'l_name' => __(apply_filters('angelleye_paypal_pro_shipping_text', 'Shipping'), 'paypal-for-woocommerce'), // Item Name. 127 char max.
- 'l_name' => __(apply_filters('angelleye_paypal_pro_shipping_text', 'Shipping'), 'paypal-for-woocommerce'), // Item Name. 127 char max.