Changeset 45449
- Timestamp:
- 05/26/2019 10:04:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r44585 r45449 338 338 * panel and/or theme. 339 339 * } 340 * @param mixed ...$params Optional additional parameters to pass to the callback function when it's called. 340 341 */ 341 342 function wp_register_sidebar_widget( $id, $name, $output_callback, $options = array() ) { … … 465 466 * @global array $_wp_deprecated_widgets_callbacks 466 467 * 467 * @param int|string 468 * @param string 469 * @param callable 470 * @param array $options {468 * @param int|string $id Sidebar ID. 469 * @param string $name Sidebar display name. 470 * @param callable $control_callback Run when sidebar is displayed. 471 * @param array $options { 471 472 * Optional. Array or string of control options. Default empty array. 472 473 * … … 477 478 * text widget. The widget id will end up looking like `{$id_base}-{$unique_number}`. 478 479 * } 480 * @param mixed ...$params Optional additional parameters to pass to the callback function when it's called. 479 481 */ 480 482 function wp_register_widget_control( $id, $name, $control_callback, $options = array() ) { … … 540 542 * @param array $options Optional. Widget control options. See wp_register_widget_control(). 541 543 * Default empty array. 544 * @param mixed ...$params Optional additional parameters to pass to the callback function when it's called. 542 545 */ 543 546 function _register_widget_update_callback( $id_base, $update_callback, $options = array() ) { … … 572 575 * @param array $options Optional. Widget control options. See wp_register_widget_control(). 573 576 * Default empty array. 574 */ 577 * @param mixed ...$params Optional additional parameters to pass to the callback function when it's called. 578 */ 579 575 580 function _register_widget_form_callback( $id, $name, $form_callback, $options = array() ) { 576 581 global $wp_registered_widget_controls;
Note: See TracChangeset
for help on using the changeset viewer.