/home/techb158/l2hypotheques.com/wp-content/plugins/wpforms/src/Pro/Admin/Education
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/wpforms/src/Pro/Admin/Education/Core.php (4512B)
download it from wpforms.com and
install it manually.', 'wpforms' ),
[
'a' => [
'href' => true,
'target' => true,
'rel' => true,
],
]
),
esc_url( wpforms_utm_link( 'https://wpforms.com/account/licenses/', 'builder-modal', 'Addon Install Failure' ) ),
esc_url( wpforms_utm_link( 'https://wpforms.com/docs/how-to-manually-install-addons-in-wpforms/', 'builder-modal', 'Addon Install Failure' ) )
);
$license_key = wpforms_get_license_key();
if ( ! empty( $license_key ) ) {
$strings['upgrade']['pro']['url'] = add_query_arg(
[ 'license_key' => sanitize_text_field( $license_key ) ],
$strings['upgrade']['pro']['url']
);
}
$strings['license'] = [
'title' => esc_html__( 'Heads up!', 'wpforms' ),
'prompt' => esc_html__( 'To access the %name%, please enter and activate your WPForms license key in the plugin settings.', 'wpforms' ),
'button' => esc_html__( 'Enter License Key', 'wpforms' ),
'url' => admin_url( 'admin.php?page=wpforms-settings' ),
'is_empty' => empty( $license_key ),
];
$strings['activate_license'] = [
'prompt_part1' => esc_html__( 'To access the %name%, please enter your WPForms license key.', 'wpforms' ),
'prompt_part2' => sprintf(
wp_kses(
/* translators: %s - WPForms.com account licenses page URL. */
__( 'Your key can be found inside the
WPForms.com Account Dashboard.', 'wpforms' ),
[
'a' => [
'href' => [],
'target' => [],
'rel' => [],
],
]
),
esc_url( wpforms_utm_link( 'https://wpforms.com/account/licenses/', 'Builder Modal Activate License', '~utm-content~ Field' ) )
),
'success_title' => esc_html__( 'All set', 'wpforms' ),
'success_part1' => esc_html__( 'Your license was activated! All fields will be available once the form builder is refreshed.', 'wpforms' ),
'success_part2' => esc_html__( 'Would you like to save and refresh the form builder?', 'wpforms' ),
'placeholder' => esc_html__( 'Enter License Key', 'wpforms' ),
'button' => esc_html__( 'Activate License', 'wpforms' ),
'enter_key' => esc_html__( 'Please enter a license key.', 'wpforms' ),
];
$license = (array) get_option( 'wpforms_license', [] );
if ( ! empty( $license['is_expired'] ) ) {
$strings['license']['prompt'] = esc_html__( 'Your WPForms license is expired. To access the %name%, please renew your license.', 'wpforms' );
$strings['license']['button'] = esc_html__( 'Renew Now', 'wpforms' );
$strings['license']['url'] = esc_url_raw( wpforms_utm_link( 'https://wpforms.com/account/licenses/', 'Builder Modal Expired License', '~utm-content~' ) );
}
if ( ! empty( $license['is_disabled'] ) || ! empty( $license['is_invalid'] ) ) {
$strings['license']['prompt'] = esc_html__( 'Your WPForms license is not active. To access the %name%, please contact support for more details.', 'wpforms' );
$strings['license']['button'] = esc_html__( 'Contact Support', 'wpforms' );
$strings['license']['url'] = esc_url_raw( wpforms_utm_link( 'https://wpforms.com/account/support/', 'Builder Modal Disabled License', '~utm-content~' ) );
}
$strings['can_install_addons'] = wpforms_can_install( 'addon' );
if ( ! $strings['can_install_addons'] ) {
$strings['install_prompt'] = '
' . esc_html__( 'The %name% is not installed. Please install and activate it to use this feature.', 'wpforms' ) . '
';
}
return $strings;
}
}