- Timestamp:
- 11/18/2021 01:48:43 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php
r52068 r52204 461 461 * @since 5.8.0 462 462 * 463 * @param string $widget_id ID of the widget marked for deletion.464 * @param string $sidebar_id ID of the sidebar the widget was deleted from.465 * @param WP_REST_Response $response The response data.466 * @param WP_REST_Request $request The request sent to the API.463 * @param string $widget_id ID of the widget marked for deletion. 464 * @param string $sidebar_id ID of the sidebar the widget was deleted from. 465 * @param WP_REST_Response|WP_Error $response The response data, or WP_Error object on failure. 466 * @param WP_REST_Request $request The request sent to the API. 467 467 */ 468 468 do_action( 'rest_delete_widget', $widget_id, $sidebar_id, $response, $request ); … … 734 734 * @since 5.8.0 735 735 * 736 * @param WP_REST_Response $response The response object.737 * @param array $widget The registered widget data.738 * @param WP_REST_Request $request Request used to generate the response.736 * @param WP_REST_Response|WP_Error $response The response object, or WP_Error object on failure. 737 * @param array $widget The registered widget data. 738 * @param WP_REST_Request $request Request used to generate the response. 739 739 */ 740 740 return apply_filters( 'rest_prepare_widget', $response, $widget, $request );
Note: See TracChangeset
for help on using the changeset viewer.