WP_Widget_Text::_register()
Add hooks for enqueueing assets when registering all widget instances of this widget class.
Description Description
Source Source
File: wp-includes/widgets/class-wp-widget-text.php
/** * Add hooks for enqueueing assets when registering all widget instances of this widget class. * * @param integer $number Optional. The unique order number of this widget instance * compared to other instances of the same class. Default -1. */ public function _register_one( $number = -1 ) { parent::_register_one( $number ); if ( $this->registered ) {
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |