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 HTML or text to prepend to each link. Default is '<p> Pages:'. |
| 723 | * @type string $after HTML or text to append to each link. Default is '</p>'. |
| 724 | * @type string $link_before HTML or text to prepend to each link, inside the <a> tag. |
| 725 | * Also prepended to the current item, which is not linked. Default empty. |
| 726 | * @type string $link_after 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 empty. |
| 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 between pagination links. Default is ' '. |
| 731 | * @type string $nextpagelink Link text for the next page link, if available. Default is 'Next Page'. |
| 732 | * @type string $previouspagelink Link text for the previous page link, 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 int|bool $echo Triggers HTML being echoed or returned. When 1|true, HTML is echoed. When |
| 737 | * 0|false, HTML is returned. Default is 1|true. |
| 738 | * } |