Changeset 15578 for trunk/wp-admin/includes/list-table.php
- Timestamp:
- 09/05/2010 09:26:27 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/list-table.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/list-table.php
r15571 r15578 172 172 function no_items() { 173 173 _e( 'No items found.' ); 174 } 175 176 /** 177 * Get an associative array ( id => link ) with the list 178 * of views available on this table. 179 * 180 * @since 3.1.0 181 * @access protected 182 * 183 * @return array 184 */ 185 function get_views() { 186 return array(); 187 } 188 189 /** 190 * Display the bulk actions dropdown. 191 * 192 * @since 3.1.0 193 * @access public 194 */ 195 function views() { 196 $views = $this->get_views(); 197 $views = apply_filters( 'views_' . $this->_screen->base, $views ); 198 199 if ( empty( $views ) ) 200 return; 201 202 echo "<ul class='subsubsub'>\n"; 203 echo implode( " |</li>\n", $views ) . "</li>\n"; 204 echo "</ul>"; 174 205 } 175 206
Note: See TracChangeset
for help on using the changeset viewer.