Changeset 37064
- Timestamp:
- 03/23/2016 05:09:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-widget.php
r37040 r37064 163 163 * PHP4 constructor. 164 164 * 165 * @param string $id_base 166 * @param string $name 167 * @param array $widget_options 168 * @param array $control_options 165 * @since 2.8.0 166 * @access public 167 * 168 * @see __construct() 169 * 170 * @param string $id_base Optional Base ID for the widget, lowercase and unique. If left empty, 171 * a portion of the widget's class name will be used Has to be unique. 172 * @param string $name Name for the widget displayed on the configuration page. 173 * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for information 174 * on accepted arguments. Default empty array. 175 * @param array $control_options Optional. Widget control options. See wp_register_widget_control() for 176 * information on accepted arguments. Default empty array. 169 177 */ 170 178 public function WP_Widget( $id_base, $name, $widget_options = array(), $control_options = array() ) { … … 180 188 * @since 2.8.0 181 189 * @since 4.4.0 Array format field names are now accepted. 190 * @access public 182 191 * 183 192 * @param string $field_name Field name … … 213 222 * 214 223 * @since 2.8.0 215 * @access p rivate224 * @access public 216 225 */ 217 226 public function _register() { … … 245 254 * 246 255 * @since 2.8.0 247 * @access p rivate256 * @access public 248 257 * 249 258 * @param int $number The unique order number of this widget instance compared to other … … 259 268 * 260 269 * @since 2.8.0 270 * @access public 261 271 * 262 272 * @return callable Display callback. … … 270 280 * 271 281 * @since 2.8.0 282 * @access public 272 283 * 273 284 * @return callable Update callback. … … 281 292 * 282 293 * @since 2.8.0 294 * @access public 283 295 * 284 296 * @return callable Form callback. … … 458 470 * @access public 459 471 * 460 * @param int|array $widget_args Widget instance number or array of widget arguments. 472 * @param int|array $widget_args { 473 * Optional. Internal order number of the widget instance, or array of multi-widget arguments. 474 * Default 1. 475 * 476 * @type int $number Number increment used for multiples of the same widget. 477 * } 461 478 * @return string|null 462 479 */ … … 518 535 * 519 536 * @since 2.8.0 520 * @access p rivate537 * @access public 521 538 * 522 539 * @param integer $number Optional. The unique order number of this widget instance
Note: See TracChangeset
for help on using the changeset viewer.