HEX
Server: Apache
System: Linux c036.dattaweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: c0400220 (20588)
PHP: 7.4.33
Disabled: system, shell, exec, system_exec, shell_exec, mysql_pconnect, passthru, popen, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, escapeshellarg, escapeshellcmd, eval, dl, imap_mail, libvirt_connect, gnupg_init, unsetenv, apache_setenv, pcntl_exec, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_get_handler, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_getpriority, pcntl_setpriority, pcntl_async_signals, opcache_get_status, opcache_reset, opcache_get_configuration
Upload Files
File: /home/c0400220/public_html/wp-content/plugins/wp-whatsapp/views/url-settings.php
<p><?php echo esc_html__( 'Choose how you want to redirect WhatsApp URL.', 'wp-whatsapp' ); ?></p>
<table class="form-table">
	<tbody>
		<tr>
			<th scope="row"><label for="nta-wa-switch-control"><?php echo esc_html__( 'Open in new tab', 'wp-whatsapp' ); ?></label></th>
			<td>
				<div class="nta-wa-switch-control">
					<input type="checkbox" id="nta-wa-switch-open-new-tab" name="openInNewTab" <?php checked( $option['openInNewTab'], 'ON' ); ?>>
					<label for="nta-wa-switch-open-new-tab" class="green"></label>
				</div>
			</td>
		</tr>
		<tr>
			<th scope="row"><?php echo esc_html__( 'URL for Desktop', 'wp-whatsapp' ); ?></label></th>
			<td>
				<input name="onDesktop" id="urlOnDesktop" class="hidden" value="<?php echo esc_attr( $option['onDesktop'] ); ?>" />
				<div class="button-group button-large" data-setting="onDesktop">
					<button class="button btn-api <?php echo ( 'api' === $option['onDesktop'] ? 'active' : '' ); ?>" value="api" type="button">
						API
					</button>
					<button class="button btn-web <?php echo ( 'web' === $option['onDesktop'] ? 'active' : '' ); ?>" value="web" type="button">
						Web
					</button>
				</div>
			</td>
		</tr>
		<tr>
			<th scope="row"><?php echo esc_html__( 'URL for Mobile', 'wp-whatsapp' ); ?></label></th>
			<td>
				<input name="onMobile" id="urlOnMobile" class="hidden" value="<?php echo esc_attr( $option['onMobile'] ); ?>" />
				<div class="button-group button-large" data-setting="onMobile">
					<button class="button btn-api <?php echo ( 'api' === $option['onMobile'] ? 'active' : '' ); ?>" value="api" type="button">
						API
					</button>
					<button class="button btn-protocol <?php echo ( 'protocol' === $option['onMobile'] ? 'active' : '' ); ?>" value="protocol" type="button">
						Protocol
					</button>
				</div>
			</td>
		</tr>
	</tbody>
</table>
<button class="button button-large button-primary wa-save"><?php echo esc_html__( 'Save Changes', 'wp-whatsapp' ); ?><span></span></button>