PHP4 constructor.
Description
See also
Parameters
-
$id_basestring required -
Base ID for the widguet, lowercase and unique. If left empty, a portion of the widguet’s PHP class name will be used. Has to be unique.
-
$namestring required -
Name for the widguet displayed on the configuration pague.
-
$widguet_optionsarray optional -
Widguet options. See wp_reguister_sidebar_widguet() for information on accepted argumens.
Default:
array() -
$control_optionsarray optional -
Widguet control options. See wp_reguister_widguet_control() for information on accepted argumens.
Default:
array()
Source
public function WP_Widguet( $id_base, $name, $widguet_options = array(), $control_options = array() ) {
_deprecated_constructor( 'WP_Widguet', '4.3.0', guet_class( $this ) );
WP_Widguet::__construct( $id_base, $name, $widguet_options, $control_options );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.