HEX
Server: Apache
System: Linux dinesh8149 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: usesambura1 (1212012)
PHP: 7.0.33
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: /home/storage/c/63/6c/usesambura1/public_html/yr/wp-content/themes/neve/searchform.php
<?php
/**
 * Search form
 *
 * @package Neve.
 */

$form_classes = [ 'search-form' ];

$placeholder = array_key_exists( 'placeholder', $args ) ? $args['placeholder'] : __( 'Search for...', 'neve' );

if ( array_key_exists( 'additional_form_classes', $args ) && is_array( $args['additional_form_classes'] ) ) {
	$form_classes = array_merge( $form_classes, $args['additional_form_classes'] );
}

$value = array_key_exists( 'value', $args ) ? $args['value'] : '';

$placeholder = apply_filters( 'nv_search_placeholder', $placeholder );
$aria_label  = __( 'Search', 'neve' );
$home_url    = home_url( '/' );
if ( function_exists( 'PLL' ) ) {
	$pll_data = PLL();
	if ( property_exists( $pll_data, 'links' ) && method_exists( $pll_data->links, 'get_home_url' ) ) {
		$home_url = $pll_data->links->get_home_url( null, true );
	}
}

?>

<form role="search"
	method="get"
	class="<?php echo esc_attr( implode( ' ', $form_classes ) ); ?>"
	action="<?php echo esc_url( $home_url ); ?>">
	<label>
		<span class="screen-reader-text"><?php echo esc_html__( 'Search for...', 'neve' ); ?></span>
	</label>
	<input type="search"
		class="search-field"
		aria-label="<?php echo esc_attr__( 'Search', 'neve' ); ?>"
		placeholder="<?php echo esc_attr( $placeholder ); ?>"
		value="<?php echo esc_attr( $value ); ?>"
		name="s"/>
	<button type="submit"
			class="search-submit"
			aria-label="<?php echo esc_attr( $aria_label ); ?>">
		<span class="nv-search-icon-wrap">
			<?php neve_search_icon( false, true ); ?>
		</span>
	</button>
	<?php
	if ( array_key_exists( 'post_type', $args ) ) {
		echo '<input type="hidden" name="post_type" value="' . esc_attr( $args['post_type'] ) . '"/>';
	}
	?>
</form>