register_widget


register_widget ( $widget )

Parameters:
  • (string|WP_Widget) $widget Either the name of a `WP_Widget` subclass or an instance of a `WP_Widget` subclass.
See:
  • WP_Widget
Defined at:
Change Log:
  • 4: .

Description

Register a widget

Registers a WP_Widget widget

Related Functions

unregister_widget, register_sidebar_widget, register_widget_control, register_meta, register_sidebar

Top Google Results

User discussions

wpseek mobile