Changeset 51876
- Timestamp:
- 09/29/2021 01:38:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-admin-bar.php
r48826 r51876 19 19 20 20 /** 21 * @since 3.3.0 22 * 21 23 * @param string $name 22 24 * @return string|array|void … … 34 36 35 37 /** 38 * Initializes the admin bar. 39 * 40 * @since 3.1.0 36 41 */ 37 42 public function initialize() { … … 83 88 84 89 /** 85 * Add a node (menu item) to the Admin Bar menu.90 * Adds a node (menu item) to the admin bar menu. 86 91 * 87 92 * @since 3.3.0 … … 94 99 95 100 /** 96 * Remove a node from the admin bar.101 * Removes a node from the admin bar. 97 102 * 98 103 * @since 3.1.0 … … 180 185 181 186 /** 187 * @since 3.3.0 188 * 182 189 * @param array $args 183 190 */ … … 188 195 /** 189 196 * Gets a node. 197 * 198 * @since 3.3.0 190 199 * 191 200 * @param string $id … … 200 209 201 210 /** 211 * @since 3.3.0 212 * 202 213 * @param string $id 203 214 * @return object|void … … 218 229 219 230 /** 231 * @since 3.3.0 232 * 220 233 * @return array|void 221 234 */ … … 233 246 234 247 /** 248 * @since 3.3.0 249 * 235 250 * @return array|void 236 251 */ … … 244 259 245 260 /** 246 * Add a group to a toolbar menu node.261 * Adds a group to a toolbar menu node. 247 262 * 248 263 * Groups can be used to organize toolbar items into distinct sections of a toolbar menu. … … 268 283 * Remove a node. 269 284 * 285 * @since 3.1.0 286 * 270 287 * @param string $id The ID of the item. 271 288 */ … … 275 292 276 293 /** 294 * @since 3.3.0 295 * 277 296 * @param string $id 278 297 */ … … 282 301 283 302 /** 303 * @since 3.1.0 284 304 */ 285 305 public function render() { … … 291 311 292 312 /** 313 * @since 3.3.0 314 * 293 315 * @return object|void 294 316 */ … … 427 449 428 450 /** 451 * @since 3.3.0 452 * 429 453 * @param object $root 430 454 */ … … 458 482 459 483 /** 484 * @since 3.3.0 485 * 460 486 * @param object $node 461 487 */ … … 473 499 474 500 /** 501 * @since 3.3.0 502 * 475 503 * @param object $node 476 504 */ … … 498 526 499 527 /** 528 * @since 3.3.0 529 * 500 530 * @param object $node 501 531 */ … … 597 627 598 628 /** 629 * Adds menus to the admin bar. 630 * 631 * @since 3.1.0 599 632 */ 600 633 public function add_menus() {
Note: See TracChangeset
for help on using the changeset viewer.