Description
The “ims_user_checkout_fields” filter is used to add additional user fields to the checkout forms; like zip, address, name and last name.
A plugin (or theme) can modify the array with the code:
<?php add_filter( 'ims_user_checkout_fields', 'filter_function_name'); ?>
The hook is located in the image-store/_store/checkout.php file.
Example
// Apply filter function add_ims_user_checkout_fields( $fields ) { $fields[] = 'ims_country'; return $fields; } add_filter('ims_user_checkout_fields', 'add_ims_user_checkout_fields');
Note: $fields is a numeric array.