woocommerce_ppay_icon
The Postepay Gateway per Woocommerce woocommerce ppay icon hook.
Description
Parameters (1)
- 0. $var (string) =>
''
- The var.
Usage
- To run the hook, copy the example below.
- $var = apply_filters( 'woocommerce_ppay_icon', $var );
- if ( !empty( $var ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the woocommerce_ppay_icon callback
- function filter_woocommerce_ppay_icon( $var ) {
- // make filter magic happen here...
- return $var;
- };
- // add the filter
- add_filter( 'woocommerce_ppay_icon', 'filter_woocommerce_ppay_icon', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'woocommerce_ppay_icon', 'filter_woocommerce_ppay_icon', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /wc-postepay.php
- $this->icon = apply_filters('woocommerce_ppay_icon', '');