WP_Widget_Recent_Posts::update

Advertisement

Summery Summery

Handles updating the settings for the current Recent Posts widget instance.

Syntax Syntax

WP_Widget_Recent_Posts::update( array $new_instance, array $old_instance )

Parameters Parameters

$new_instance

(array) (Required) New settings for this instance as input by the user via WP_Widget::form().

$old_instance

(array) (Required) Old settings for this instance.

Return Return

(array) Updated settings to save.

Source Source

File: wp-includes/widgets/class-wp-widget-recent-posts.php

			<?php endforeach; ?>
		</ul>

		<?php
		if ( 'html5' === $format ) {
			echo '</nav>';
		}

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.