shopp_offline_payment_instructions

filters the payment instructions setting for the Offline Payments module.

add_filter( 'shopp_offline_payment_instructions', [callback] )

@param string $instructions the payment instructions setting for the Offline Payments module.

Description

filters the payment instructions setting for the Offline Payments module.

Example

// register filter callbacks
// some filters from WordPress
add_filter('shopp_offline_payment_instructions', 'stripslashes');
add_filter('shopp_offline_payment_instructions', 'wptexturize');
add_filter('shopp_offline_payment_instructions', 'convert_chars');
add_filter('shopp_offline_payment_instructions', 'wpautop');

// my filter
add_filter('shopp_offline_payment_instructions', 'my_filter');

// create filter function
function my_filter( $instructions ) {
    // additional filtering here
    return $instructions;
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar