Changeset 60139
- Timestamp:
- 04/08/2025 01:59:10 AM (3 weeks ago)
- Location:
- branches/6.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.8
- Property svn:mergeinfo changed
/trunk merged: 60120-60121
- Property svn:mergeinfo changed
-
branches/6.8/src/wp-includes/general-template.php
r60088 r60139 20 20 * @since 5.5.0 The `$args` parameter was added. 21 21 * 22 * @param string $name The name of the specialized header.23 * @param array $args Optional. Additional arguments passed to the header template.24 * Default empty array.22 * @param string|null $name The name of the specialized header. Default null. 23 * @param array $args Optional. Additional arguments passed to the header template. 24 * Default empty array. 25 25 * @return void|false Void on success, false if the template does not exist. 26 26 */ … … 64 64 * @since 5.5.0 The `$args` parameter was added. 65 65 * 66 * @param string $name The name of the specialized footer.67 * @param array $args Optional. Additional arguments passed to the footer template.68 * Default empty array.66 * @param string|null $name The name of the specialized footer. Default null. 67 * @param array $args Optional. Additional arguments passed to the footer template. 68 * Default empty array. 69 69 * @return void|false Void on success, false if the template does not exist. 70 70 */ … … 108 108 * @since 5.5.0 The `$args` parameter was added. 109 109 * 110 * @param string $name The name of the specialized sidebar.111 * @param array $args Optional. Additional arguments passed to the sidebar template.112 * Default empty array.110 * @param string|null $name The name of the specialized sidebar. Default null. 111 * @param array $args Optional. Additional arguments passed to the sidebar template. 112 * Default empty array. 113 113 * @return void|false Void on success, false if the template does not exist. 114 114 */ … … 160 160 * 161 161 * @param string $slug The slug name for the generic template. 162 * @param string|null $name Optional. The name of the specialized template. 162 * @param string|null $name Optional. The name of the specialized template. Default null. 163 163 * @param array $args Optional. Additional arguments passed to the template. 164 164 * Default empty array. … … 176 176 * 177 177 * @param string $slug The slug name for the generic template. 178 * @param string|null $name The name of the specialized template or null if179 * there is none.178 * @param string|null $name The name of the specialized template 179 * or null if there is none. 180 180 * @param array $args Additional arguments passed to the template. 181 181 */ … … 197 197 * 198 198 * @param string $slug The slug name for the generic template. 199 * @param string $name The name of the specialized template or an empty200 * string if there is none.199 * @param string $name The name of the specialized template 200 * or an empty string if there is none. 201 201 * @param string[] $templates Array of template files to search for, in order. 202 202 * @param array $args Additional arguments passed to the template. … … 1917 1917 * @param string $before Optional. Content to prepend to the description. Default empty. 1918 1918 * @param string $after Optional. Content to append to the description. Default empty. 1919 * @param bool $selected Optional. Set to true if the current page is the selected archive page. 1919 * @param bool $selected Optional. Set to true if the current page is the selected archive page. Default false. 1920 1920 * @return string HTML link content for archive. 1921 1921 */
Note: See TracChangeset
for help on using the changeset viewer.