shopp_checkout_confirm_button

filters the submit form input markup for the confirm-order button.

add_filter( 'shopp_checkout_confirm_button', [callback] )

@param string $markup the submit form input markup for the confirm order submit button
@param array $options options passed to the confirm-order button tag
@param array $allowed array of the default attributes that can be set on the submit input

Description

filters the submit form input markup for the confirm-order button.

Example

// register filter callback
add_filter('shopp_checkout_confirm_button', 'confirm_button_filter', 10, 3);

// create filter function
function confirm_button_filter( $markup, $options, $allowed ) {
    // allowed defaults to:
    // array('title','class','value','disabled','tabindex','accesskey')

    // ... create/modify $markup
    return $markup;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar