mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 12:29:53 +01:00
Docs: Param indentation improvements in get_calendar()
function and hooks.
See #34093. git-svn-id: https://develop.svn.wordpress.org/trunk@59909 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b697b8f21
commit
7903c32edf
@ -2245,8 +2245,8 @@ function calendar_week_mod( $num ) {
|
||||
* @param array $args {
|
||||
* Optional. Arguments for the `get_calendar` function.
|
||||
*
|
||||
* @type bool $initial Whether to use initial calendar names. Default true.
|
||||
* @type bool $display Whether to display the calendar output. Default true.
|
||||
* @type bool $initial Whether to use initial calendar names. Default true.
|
||||
* @type bool $display Whether to display the calendar output. Default true.
|
||||
* @type string $post_type Optional. Post type. Default 'post'.
|
||||
* }
|
||||
* @return void|string Void if `$display` argument is true, calendar HTML if `$display` is false.
|
||||
@ -2284,8 +2284,8 @@ function get_calendar( $args = array() ) {
|
||||
* @param array $args {
|
||||
* Optional. Arguments for the `get_calendar` function.
|
||||
*
|
||||
* @type bool $initial Whether to use initial calendar names. Default true.
|
||||
* @type bool $display Whether to display the calendar output. Default true.
|
||||
* @type bool $initial Whether to use initial calendar names. Default true.
|
||||
* @type bool $display Whether to display the calendar output. Default true.
|
||||
* @type string $post_type Optional. Post type. Default 'post'.
|
||||
* }
|
||||
* @return array The arguments for the `get_calendar` function.
|
||||
@ -2518,8 +2518,8 @@ function get_calendar( $args = array() ) {
|
||||
* @param array $args {
|
||||
* Optional. Array of display arguments.
|
||||
*
|
||||
* @type bool $initial Whether to use initial calendar names. Default true.
|
||||
* @type bool $display Whether to display the calendar output. Default true.
|
||||
* @type bool $initial Whether to use initial calendar names. Default true.
|
||||
* @type bool $display Whether to display the calendar output. Default true.
|
||||
* @type string $post_type Optional. Post type. Default 'post'.
|
||||
* }
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user