apply_filters('wpstagerintegration_default_label_event_buy_tickets_button', esc_html__( 'Buy tickets', 'wp-stager-integration')): string

Description

Filter the default "buy tickets" button text in the event page.

The default value is "Order tickets".

Parameters:

ParameterTypeDescription
$label string The button text.

Returns:

string

Information

Fileevent-buy-tickets-button.php line 48

Full Code

/**
 * Filter the default "buy tickets" button text in the event page.
 *
 * The default value is "Order tickets".
 *
 * @param string $label The button text.
 * @return string
 */
$button_label = (string) apply_filters( 'wpstagerintegration_default_label_event_buy_tickets_button', esc_html__( 'Buy tickets', 'wp-stager-integration' ) )

💡 If you ever get stuck or have a question, please check our FAQs, our Free Integration Service, our paid Full Integration Service, or reach out to us!

Get WP Stager Integration

🎁 Limited offer: Use code WELCOME26 to get your first month for free!