717 | | * The defaults for overwriting are: |
718 | | * 'before' - Default is '<p> Pages:' (string). The html or text to prepend to |
719 | | * each bookmarks. |
720 | | * 'after' - Default is '</p>' (string). The html or text to append to each |
721 | | * bookmarks. |
722 | | * 'link_before' - Default is '' (string). The html or text to prepend to each |
723 | | * Pages link inside the <a> tag. Also prepended to the current item, which |
724 | | * is not linked. |
725 | | * 'link_after' - Default is '' (string). The html or text to append to each |
726 | | * Pages link inside the <a> tag. Also appended to the current item, which |
727 | | * is not linked. |
728 | | * 'next_or_number' - Default is 'number' (string). Indicates whether page |
729 | | * numbers should be used. Valid values are number and next. |
730 | | * 'separator' - Default is ' ' (string). Text used between pagination links. |
731 | | * 'nextpagelink' - Default is 'Next Page' (string). Text for link to next page. |
732 | | * of the bookmark. |
733 | | * 'previouspagelink' - Default is 'Previous Page' (string). Text for link to |
734 | | * previous page, if available. |
735 | | * 'pagelink' - Default is '%' (String).Format string for page numbers. The % in |
736 | | * the parameter string will be replaced with the page number, so Page % |
737 | | * generates "Page 1", "Page 2", etc. Defaults to %, just the page number. |
738 | | * 'echo' - Default is 1 (integer). When not 0, this triggers the HTML to be |
739 | | * echoed and then returned. |
740 | | * |
743 | | * @param string|array $args Optional. Overwrite the defaults. |
| 719 | * @param string|array $args { |
| 720 | * Default arguments. Optional. |
| 721 | * |
| 722 | * @type string $before The html or text to prepend to each bookmarks. Default is '<p> Pages:'. |
| 723 | * @type string $after The html or text to append to each bookmarks. Default is '</p>'. |
| 724 | * @type string $link_before The html or text to prepend to each Pages link inside the <a> tag. |
| 725 | * Also prepended to the current item, which is not linked. Default is ''. |
| 726 | * @type string $link_after The html or text to append to each Pages link inside the <a> tag. |
| 727 | * Also appended to the current item, which is not linked. Default is ''. |
| 728 | * @type string $next_or_number Indicates whether page numbers should be used. Valid values are number |
| 729 | * and next. Default is 'number' |
| 730 | * @type string $separator Text used between pagination links. Default is ' ' |
| 731 | * @type string $nextpagelink Text for link to next page. Default is 'Next Page' |
| 732 | * @type string $previouspagelink Text for link to previous page, if available. Default is 'Previous Page' |
| 733 | * @type string $pagelink Format string for page numbers. The % in the parameter string will be |
| 734 | * replaced with the page number, so Page % generates "Page 1", "Page 2", etc. |
| 735 | * Defaults to %, just the page number. |
| 736 | * @type integer|bool $echo When true or not 0, this triggers the HTML to be echoed and then returned. |
| 737 | * Default is 1. |
| 738 | * } |