Please add a filter on the form’s submit button text
-
I would love to change the button text. Please consider a change like this on line 682 of class-display.php:
/** * Helper method for submit button * * @since 1.0.0 * @return string html markup */ public function submit() { return $this->field( array( 'type' => 'submit', 'name' => 'ctct-submitted', 'map_to' => 'ctct-submitted', 'value' => __( 'Send', 'constant-contact-forms' ), ) ); }
to something like…
'value' => apply_filters( 'ctct_submit_text', __( 'Send', 'constant-contact-forms' ) ),
I am not sure about whether the translation should happen before or after, but I am sure I want to change the button text. Thanks for reading.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Please add a filter on the form’s submit button text’ is closed to new replies.