Skip to content

Commit

Permalink
Fix - tooltip content for AI
Browse files Browse the repository at this point in the history
  • Loading branch information
deepench committed Aug 18, 2023
1 parent 7a899e1 commit 417aa41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/admin/builder/class-evf-builder-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -564,11 +564,11 @@ public function output_content() {
'email',
'enable_ai_email_prompt',
$this->form_data,
esc_html__( 'Enable email prompt', 'everest-forms' ),
esc_html__( 'Enable Email Prompt', 'everest-forms' ),
array(
'default' => ! empty( $settings['email'][ $connection_id ]['enable_ai_email_prompt'] ) ? $settings['email'][ $connection_id ]['enable_ai_email_prompt'] : '0',
'class' => 'everest-forms-enable-email-prompt',
'tooltip' => sprintf( 'Enable the email prompt', 'everest-forms' ),
'tooltip' => sprintf( 'Check this option to enable the email message prompt.', 'everest-forms' ),
'parent' => 'settings',
'subsection' => $connection_id,
)
Expand All @@ -583,7 +583,7 @@ public function output_content() {
'default' => isset( $settings['email'][ $connection_id ]['evf_email_message_prompt'] ) ? $settings['email'][ $connection_id ]['evf_email_message_prompt'] : '',
'class' => isset( $settings['email'][ $connection_id ]['enable_ai_email_prompt'] ) && '1' === $settings['email'][ $connection_id ]['enable_ai_email_prompt'] ? 'evf-email-message-prompt' : 'evf-email-message-prompt everest-forms-hidden',
/* translators: %1$s - general settings docs url */
'tooltip' => sprintf( esc_html__( 'Enter the message of the email. <a href="%1$s" target="_blank">Learn More</a>', 'everest-forms' ), esc_url( 'https://docs.wpeverest.com/docs/everest-forms/individual-form-settings/email-settings/#email-message' ) ),
'tooltip' => sprintf( esc_html__( 'Enter the email message prompt. <a href="%1$s" target="_blank">Learn More</a>', 'everest-forms' ), esc_url( 'https://docs.wpeverest.com/docs/everest-forms/individual-form-settings/email-settings/#email-message' ) ),
'smarttags' => array(
'type' => 'all',
'form_fields' => 'all',
Expand Down

0 comments on commit 417aa41

Please sign in to comment.