shopp_order_note

filters the content of an order note.

add_filter( 'shopp_order_note', [callback] )

@param string $note order note in the Order Manager

Description

filters the content of an order note.

Example

// Filter notes with some standard WordPress filter functions
add_filter('shopp_order_note', 'esc_html'); // make it secure
add_filter('shopp_order_note', 'wptexturize');
add_filter('shopp_order_note', 'convert_chars');
add_filter('shopp_order_note', 'make_clickable');
add_filter('shopp_order_note', 'force_balance_tags');
add_filter('shopp_order_note', 'convert_smilies');
add_filter('shopp_order_note', 'wpautop');

See Also

You must be logged in to post a comment.

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

Skip to toolbar