GRAYBYTE WORDPRESS FILE MANAGER6615

Server IP : 149.255.58.128 / Your IP : 216.73.216.50
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/wheelch2/antalyamobilityscooter.com/wp-includes/widgets/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/antalyamobilityscooter.com/wp-includes/widgets//class-wp-widget-search.php
<?php
/**
 * Widget API: WP_Widget_Search class
 *
 * @package WordPress
 * @subpackage Widgets
 * @since 4.4.0
 */

/**
 * Core class used to implement a Search widget.
 *
 * @since 2.8.0
 *
 * @see WP_Widget
 */
class WP_Widget_Search extends WP_Widget {

	/**
	 * Sets up a new Search widget instance.
	 *
	 * @since 2.8.0
	 */
	public function __construct() {
		$widget_ops = array(
			'classname'                   => 'widget_search',
			'description'                 => __( 'A search form for your site.' ),
			'customize_selective_refresh' => true,
			'show_instance_in_rest'       => true,
		);
		parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops );
	}

	/**
	 * Outputs the content for the current Search widget instance.
	 *
	 * @since 2.8.0
	 *
	 * @param array $args     Display arguments including 'before_title', 'after_title',
	 *                        'before_widget', and 'after_widget'.
	 * @param array $instance Settings for the current Search widget instance.
	 */
	public function widget( $args, $instance ) {
		$title = ! empty( $instance['title'] ) ? $instance['title'] : '';

		/** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */
		$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );

		echo $args['before_widget'];
		if ( $title ) {
			echo $args['before_title'] . $title . $args['after_title'];
		}

		// Use active theme search form if it exists.
		get_search_form();

		echo $args['after_widget'];
	}

	/**
	 * Outputs the settings form for the Search widget.
	 *
	 * @since 2.8.0
	 *
	 * @param array $instance Current settings.
	 */
	public function form( $instance ) {
		$instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
		$title    = $instance['title'];
		?>
		<p>
			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>
			<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
		</p>
		<?php
	}

	/**
	 * Handles updating settings for the current Search widget instance.
	 *
	 * @since 2.8.0
	 *
	 * @param array $new_instance New settings for this instance as input by the user via
	 *                            WP_Widget::form().
	 * @param array $old_instance Old settings for this instance.
	 * @return array Updated settings.
	 */
	public function update( $new_instance, $old_instance ) {
		$instance          = $old_instance;
		$new_instance      = wp_parse_args( (array) $new_instance, array( 'title' => '' ) );
		$instance['title'] = sanitize_text_field( $new_instance['title'] );
		return $instance;
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 20 2025 03:29:06
1032 / wheelch2
0755
.htaccess
0 KB
March 26 2025 13:44:20
1032 / wheelch2
0444
class-wp-nav-menu-widget.php
6.548 KB
July 16 2024 18:02:44
1032 / wheelch2
0644
class-wp-widget-archives.php
6.601 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-block.php
6.403 KB
May 02 2023 15:45:22
1032 / wheelch2
0644
class-wp-widget-calendar.php
2.845 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-categories.php
6.843 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-custom-html.php
11.76 KB
November 13 2024 04:42:28
1032 / wheelch2
0644
class-wp-widget-links.php
7.122 KB
September 11 2022 21:57:09
1032 / wheelch2
0644
class-wp-widget-media-audio.php
6.082 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-media-gallery.php
7.202 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-media-image.php
12.163 KB
November 13 2024 04:42:28
1032 / wheelch2
0644
class-wp-widget-media-video.php
8.429 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-media.php
15.007 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-meta.php
3.995 KB
November 01 2021 21:47:13
1032 / wheelch2
0644
class-wp-widget-pages.php
5.586 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-recent-comments.php
6.895 KB
November 01 2021 21:47:13
1032 / wheelch2
0644
class-wp-widget-recent-posts.php
5.799 KB
November 01 2021 21:47:13
1032 / wheelch2
0644
class-wp-widget-rss.php
5.121 KB
February 22 2023 22:02:23
1032 / wheelch2
0644
class-wp-widget-search.php
2.66 KB
November 08 2023 06:52:06
1032 / wheelch2
0644
class-wp-widget-tag-cloud.php
6.619 KB
November 01 2021 21:47:13
1032 / wheelch2
0644
class-wp-widget-text.php
20.812 KB
April 16 2025 03:36:53
1032 / wheelch2
0644
error_log
17.323 KB
May 17 2025 18:29:02
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF