Uname:Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : monpetu ( 144298)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/monpetu/www/benneplus/wp-content/themes/neve/inc/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/benneplus/wp-content/themes/neve/inc/views/tweaks.php
<?php
/**
 * Generic Tweaks
 *
 * @package Neve\Views
 */

namespace Neve\Views;

/**
 * Class Tweaks
 */
class Tweaks extends Base_View {

	/**
	 * Add hooks for the front end.
	 */
	public function init() {
		// Remove gallery default style.
		add_filter( 'use_default_gallery_style', '__return_false' );
		add_filter( 'get_search_form', array( $this, 'add_search_icon' ), PHP_INT_MAX );
		add_filter( 'get_product_search_form', array( $this, 'add_search_icon' ), PHP_INT_MAX );
	}

	/**
	 * Add
	 *
	 * @param string $markup search form markup.
	 *
	 * @return mixed
	 */
	public function add_search_icon( $markup ) {
		$markup = str_replace( '</form>', '<div class="nv-search-icon-wrap">' . neve_search_icon() . '</div></form>', $markup );
		return $markup;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit