mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Improve inline documentation of default arguments for the_title_attribute()
.
See #28298. Built from https://develop.svn.wordpress.org/trunk@28498 git-svn-id: http://core.svn.wordpress.org/trunk@28324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
130771a383
commit
c7c563532b
@ -65,7 +65,14 @@ function the_title($before = '', $after = '', $echo = true) {
|
||||
*
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @param string|array $args Optional. Override the defaults.
|
||||
* @param string|array $args {
|
||||
* Title attribute arguments. Optional.
|
||||
*
|
||||
* @type string $before Markup to prepend to the title. Default empty.
|
||||
* @type string $after Markup to append to the title. Default empty.
|
||||
* @type bool $echo Whether to echo or return the title. Default true for echo.
|
||||
* @type WP_Post $post Current post object to retrieve the title for.
|
||||
* }
|
||||
* @return string|null Null on failure or display. String when echo is false.
|
||||
*/
|
||||
function the_title_attribute( $args = '' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user