GRAYBYTE WORDPRESS FILE MANAGER5304

Server IP : 149.255.58.128 / Your IP : 216.73.216.233
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/www.mobilityantalya.co.uk/wp-includes/widgets/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/www.mobilityantalya.co.uk/wp-includes/widgets//class-wp-widget-calendar.php
<?php
/**
 * Widget API: WP_Widget_Calendar class
 *
 * @package WordPress
 * @subpackage Widgets
 * @since 4.4.0
 */

/**
 * Core class used to implement the Calendar widget.
 *
 * @since 2.8.0
 *
 * @see WP_Widget
 */
class WP_Widget_Calendar extends WP_Widget {
	/**
	 * Ensure that the ID attribute only appears in the markup once
	 *
	 * @since 4.4.0
	 * @var int
	 */
	private static $instance = 0;

	/**
	 * Sets up a new Calendar widget instance.
	 *
	 * @since 2.8.0
	 */
	public function __construct() {
		$widget_ops = array(
			'classname'                   => 'widget_calendar',
			'description'                 => __( 'A calendar of your site’s posts.' ),
			'customize_selective_refresh' => true,
			'show_instance_in_rest'       => true,
		);
		parent::__construct( 'calendar', __( 'Calendar' ), $widget_ops );
	}

	/**
	 * Outputs the content for the current Calendar widget instance.
	 *
	 * @since 2.8.0
	 *
	 * @param array $args     Display arguments including 'before_title', 'after_title',
	 *                        'before_widget', and 'after_widget'.
	 * @param array $instance The settings for the particular instance of the widget.
	 */
	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'];
		}
		if ( 0 === self::$instance ) {
			echo '<div id="calendar_wrap" class="calendar_wrap">';
		} else {
			echo '<div class="calendar_wrap">';
		}
		get_calendar();
		echo '</div>';
		echo $args['after_widget'];

		++self::$instance;
	}

	/**
	 * Handles updating settings for the current Calendar 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 to save.
	 */
	public function update( $new_instance, $old_instance ) {
		$instance          = $old_instance;
		$instance['title'] = sanitize_text_field( $new_instance['title'] );

		return $instance;
	}

	/**
	 * Outputs the settings form for the Calendar widget.
	 *
	 * @since 2.8.0
	 *
	 * @param array $instance Current settings.
	 */
	public function form( $instance ) {
		$instance = wp_parse_args( (array) $instance, array( '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( $instance['title'] ); ?>" />
		</p>
		<?php
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 21 2025 00:30:57
1032 / wheelch2
0755
.htaccess
0.124 KB
May 21 2025 00:30:57
1032 / wheelch2
0444
class-wp-nav-menu-widget.php
6.544 KB
July 02 2022 00:31:16
1032 / wheelch2
0644
class-wp-widget-archives.php
6.601 KB
September 30 2023 00:17:22
1032 / wheelch2
0644
class-wp-widget-block.php
6.403 KB
May 02 2023 20:15:22
1032 / wheelch2
0644
class-wp-widget-calendar.php
2.845 KB
September 09 2023 13:58:26
1032 / wheelch2
0644
class-wp-widget-categories.php
6.843 KB
September 30 2023 00:17:22
1032 / wheelch2
0644
class-wp-widget-custom-html.php
11.91 KB
July 11 2023 03:51:22
1032 / wheelch2
0644
class-wp-widget-links.php
7.122 KB
September 12 2022 02:27:10
1032 / wheelch2
0644
class-wp-widget-media-audio.php
6.082 KB
September 17 2023 02:19:28
1032 / wheelch2
0644
class-wp-widget-media-gallery.php
7.202 KB
September 04 2023 21:03:18
1032 / wheelch2
0644
class-wp-widget-media-image.php
12.187 KB
September 26 2023 03:08:18
1032 / wheelch2
0644
class-wp-widget-media-video.php
8.429 KB
September 17 2023 02:19:28
1032 / wheelch2
0644
class-wp-widget-media.php
15.007 KB
September 09 2023 13:58:26
1032 / wheelch2
0644
class-wp-widget-meta.php
3.995 KB
November 02 2021 03:17:14
1032 / wheelch2
0644
class-wp-widget-pages.php
5.586 KB
September 08 2023 14:02:24
1032 / wheelch2
0644
class-wp-widget-recent-comments.php
6.895 KB
November 02 2021 03:17:14
1032 / wheelch2
0644
class-wp-widget-recent-posts.php
5.799 KB
November 02 2021 03:17:14
1032 / wheelch2
0644
class-wp-widget-rss.php
5.121 KB
February 23 2023 03:32:24
1032 / wheelch2
0644
class-wp-widget-search.php
2.66 KB
September 08 2023 14:02:24
1032 / wheelch2
0644
class-wp-widget-tag-cloud.php
6.619 KB
November 02 2021 03:17:14
1032 / wheelch2
0644
class-wp-widget-text.php
20.956 KB
September 17 2023 02:19:28
1032 / wheelch2
0644
error_log
117 KB
May 18 2025 10:16:35
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF