| Server IP : 104.21.74.147 / Your IP : 216.73.217.154 Web Server : nginx/1.24.0 System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/rebeccaone.com/wp-content/plugins/weforms/trunk/includes/admin/views/ |
Upload File : |
<table class="form-table">
<tr class="wpuf-redirect-to">
<th><?php esc_html_e( 'Redirect To', 'weforms' ); ?></th>
<td>
<select v-model="settings.redirect_to">
<?php
$redirect_options = [
'same' => __( 'Same Page', 'weforms' ),
'page' => __( 'To a page', 'weforms' ),
'url' => __( 'To a custom URL', 'weforms' ),
];
foreach ($redirect_options as $to => $label) {
printf( '<option value="%s"%s>%s</option>', esc_html( $to ), '', esc_html( $label ) );
}
?>
</select>
<p class="description">
<?php esc_html_e( 'After successful submit, where the page will redirect to. This redirect option will not work if Show Report in Frontend option is enabled.', 'weforms' ) ?>
</p>
</td>
</tr>
<tr class="wpuf-same-page" v-show="settings.redirect_to == 'same'">
<th><?php esc_html_e( 'Message to show', 'weforms' ); ?></th>
<td>
<textarea rows="3" cols="40" v-model="settings.message"></textarea>
</td>
</tr>
<tr class="wpuf-page-id" v-show="settings.redirect_to == 'page'">
<th><?php esc_html_e( 'Page', 'weforms' ); ?></th>
<td>
<?php $dropdown = wp_dropdown_pages( [
'name' => 'wpuf_settings[page_id]',
'show_option_none' => wp_kses_post( __('— Select a page —', 'weforms') ),
'echo' => false
] );
echo str_replace('<select', '<select v-model="settings.page_id"', $dropdown ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
?>
</td>
</tr>
<tr class="wpuf-url" v-show="settings.redirect_to == 'url'">
<th><?php esc_html_e( 'Custom URL', 'weforms' ); ?></th>
<td>
<input type="url" v-model="settings.url" class="regular-text">
</td>
</tr>
<tr class="wpuf-submit-text">
<th><?php esc_html_e( 'Submit Button text', 'weforms' ); ?></th>
<td>
<input type="text" v-model="settings.submit_text" class="regular-text">
</td>
</tr>
<?php
/**
* @since 1.1.0
*/
do_action( 'weforms_form_settings_form' );
?>
</table>