shopp_order_customer_url

filters the customer url on the customer contact metabox in the order admin manager.

add_filter( 'shopp_order_customer_url', [callback] )

@param string $url the customer url on the customer contact metabox in the order admin manager.

Description

filters the customer url on the customer contact metabox in the order admin manager.

Example

// register filter callback
add_filter('shopp_order_customer_url', 'shopp_order_customer_url_filter');

// create filter function
function shopp_order_customer_url_filter( $url ) {
    // say you wanted to hide the customer url for some users
    if ( ! current_user_can('shopp_settings') ) return '';
    return $url;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar