Changeset 60120
- Timestamp:
- 04/02/2025 12:57:40 PM (11 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/general-template.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r60088 r60120 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. … … 196 196 * @since 5.5.0 The `$args` parameter was added. 197 197 * 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.201 * @param string[] $templates Array of template files to search for, in order.202 * @param array $args Additional arguments passed to the template.198 * @param string $slug The slug name for the generic template. 199 * @param string|null $name The name of the specialized template or an empty 200 * string if there is none. 201 * @param string[] $templates Array of template files to search for, in order. 202 * @param array $args Additional arguments passed to the template. 203 203 */ 204 204 do_action( 'get_template_part', $slug, $name, $templates, $args ); … … 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.