Changes between Initial Version and Version 1 of Ticket #53900, comment 1
- Timestamp:
- 08/09/2021 02:52:48 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53900, comment 1
initial v1 3 3 Per the [https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/#1-functions-class-methods WordPress documentation standards], `@return void` should not be used outside of the default bundled themes, so most of the core functions don't have that tag if the function does not return anything. 4 4 5 There is an exception for functions like `wp_title()`, which can either return a string or display it, i twhich case they have `@return string|void`.5 There is an exception for functions like `wp_title()`, which can either return a string or display it, in which case they have `@return string|void`.