692 | | * Arguments passed as a string should be separated by '&': |
693 | | * |
694 | | * e.g. 'name=Sidebar&id=my_prefix_sidebar' |
695 | | * |
696 | | * The same arguments passed as an array: |
697 | | * |
698 | | * array( |
699 | | * 'name' => 'Sidebar', |
700 | | * 'id' => 'my_prefix_sidebar', |
701 | | * ) |
702 | | * |
703 | | * Arguments: |
704 | | * name - The name or title of the sidebar displayed in the admin dashboard. |
705 | | * id - The unique identifier by which the sidebar will be called. |
706 | | * before_widget - HTML content that will be prepended to each widget's HTML output |
707 | | * when assigned to this sidebar. |
708 | | * after_widget - HTML content that will be appended to each widget's HTML output |
709 | | * when assigned to this sidebar. |
710 | | * before_title - HTML content that will be prepended to the sidebar title when displayed. |
711 | | * after_title - HTML content that will be appended to the sidebar title when displayed. |
712 | | * |
716 | | * @param string|array $args Arguments for the sidebar being registered. |
| 695 | * @param array|string $args { |
| 696 | * Optional. Array or string of arguments for the sidebar being registered. |
| 697 | * |
| 698 | * @type string $name The name or title of the sidebar displayed in the admin dashboard. |
| 699 | * @type string $id The unique identifier by which the sidebar will be called. |
| 700 | * @type string $before_widget HTML content that will be prepended to each widget's HTML output |
| 701 | * when assigned to this sidebar. |
| 702 | * @type string $after_widget HTML content that will be appended to each widget's HTML output |
| 703 | * when assigned to this sidebar. |
| 704 | * @type string $before_title HTML content that will be prepended to the sidebar title when displayed. |
| 705 | * @type string $after_title HTML content that will be appended to the sidebar title when displayed. |
| 706 | * } |