Arguments on hook | WordPress.org

[ad_1]

Thread Starter
valousal

(@valentinanamorphik)

$submit_button_text = apply_filters('ppress_checkout_order_button_text', sprintf('Pay %s', ppress_display_amount($order_total)), $order_total);

if ($plan->is_recurring()) $submit_button_text = esc_html__('Subscribe', 'wp-user-avatar');

if ($plan->has_free_trial()) $submit_button_text = esc_html__('Start Trial', 'wp-user-avatar');

$submit_button_text = apply_filters('ppress_checkout_order_button_text', $submit_button_text, $order_total, $plan);

This will be fixed in the next update. We’ve added $plan to the other filter where it is missing.

Thanks for pointing this out.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer