shopp_customer_info_input

filters the text form input for each custom customer information field currently saved to the customer.

add_filter( 'shopp_customer_info_input', [callback] )

@param string $input text form input for each custom customer information field currently saved to the customer.

Description

filters the text form input for each custom customer information field currently saved to the customer.

Example

// register filter callback
add_filter('shopp_customer_info_input', 'shopp_customer_info_input_filter');

// create filter function
function shopp_customer_info_input_filter( $input ) {
    // usually of the form
    // <input type="text" name="info[id]" id="info-id" value="the value of the info" />

    // .. filter the $input here
    return $input;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar