Changeset 29112
- Timestamp:
- 07/11/2014 11:12:42 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r29003 r29112 1113 1113 * arguments. 1114 1114 * 1115 * <ul>1116 * <li><strong>sort_column</strong> - How to sort the list of pages. Defaults1117 * to 'menu_order, post_title'. Use column for posts table.</li>1118 * <li><strong>menu_class</strong> - Class to use for the div ID which contains1119 * the page list. Defaults to 'menu'.</li>1120 * <li><strong>echo</strong> - Whether to echo list or return it. Defaults to1121 * echo.</li>1122 * <li><strong>link_before</strong> - Text before show_home argument text.</li>1123 * <li><strong>link_after</strong> - Text after show_home argument text.</li>1124 * <li><strong>show_home</strong> - If you set this argument, then it will1125 * display the link to the home page. The show_home argument really just needs1126 * to be set to the value of the text of the link.</li>1127 * </ul>1128 *1129 1115 * @since 2.7.0 1130 1116 * 1131 * @param array|string $args 1117 * @param array|string $args { 1118 * Optional. Arguments to generate a page menu. {@see wp_list_pages()} 1119 * for additional arguments. 1120 * 1121 * @type string $sort_column How to short the list of pages. Accepts post column names. 1122 * Default 'menu_order, post_title'. 1123 * @type string $menu_class Class to use for the div ID containing the page list. Default 'menu'. 1124 * @type bool $echo Whether to echo the list or return it. Accepts true (echo) or false (return). 1125 * Default true. 1126 * @type string $link_before The HTML or text to prepend to $show_home text. Default empty. 1127 * @type string $link_after The HTML or text to append to $show_home text. Default empty. 1128 * @type int|string $show_home Whether to display the link to the home page. Can just enter the text 1129 * you'd like shown for the home link. 1|true defaults to 'Home'. 1130 * } 1132 1131 * @return string html menu 1133 1132 */
Note: See TracChangeset
for help on using the changeset viewer.