WP_Widget::_register_one

SummerySummery

Registers an instance of the widget class.

Syntax

WP_Widget::_register_one( integer $number = -1 )

ParametersParameters

$number

(integer) (Optional) The unique order number of this widget instance compared to other instances of the same class.

Default value: -1

SourceSource

File: wp-includes/class-wp-widget.php


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top