wp_register_sidebar_widget Wordpress function


Description:

Register widget for use in sidebars.


Syntax:


Arguments:

(int|string) $id Widget ID.
(string) $name Widget display title.
(callback) $output_callback Run when widget is called.
(array|string) $options Optional. Widget Options.
(mixed) $params,... Widget parameters to add to widget.


Return Type:

(null) Will return if $output_callback is empty after removing widget.


Define At:

wp-includes/widgets.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_register_sidebar_widget


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×