Filter the default ticket input value. Sets the default number of tickets to order.
add_filter( 'mt_cart_default_value', function( string int, string $type ) { // Your code here. return int; }, 10, 2 );
string
int
$0
$type
apply_filters( 'mt_cart_default_value', '0', $type )
← All Hooks
There was an error while loading. Please reload this page.