register_sidebar_widget
register_sidebar_widget ( $name, $output_callback, $classname = '', $params )
Parameters:- (string|int) name Widget ID.
- (callable) output_callback Run when widget is called.
- (string) classname Optional. Classname widget option. Default empty.
- (mixed) params Widget parameters.
See:Defined at: - Introduced in WordPress: 2.2.0
- Deprecated in WordPress: 2.8.0
Description
Register widget for sidebar with backward compatibility.Allows $name to be an array that accepts either three elements to grab the
first element and the third for the name or just uses the first element of
the array for the name.
Passes to wp_register_sidebar_widget() after argument list and backward
compatibility is complete.