Changeset 26832
- Timestamp:
- 12/09/2013 07:11:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r26813 r26832 185 185 <ul> 186 186 <?php 187 do_action( 'rightnow_list_start' );188 187 // Posts and Pages 189 188 foreach ( array( 'post', 'page' ) as $post_type ) { … … 214 213 } 215 214 } 216 do_action( 'rightnow_list_end' ); 215 216 /** 217 * Include additional elements in the 'At a Glance' dashboard widget. 218 * This widget was previously 'Right Now'. 219 * 220 * @since 3.8.0 221 * @param array $items Array of items. 222 */ 223 $elements = apply_filters( 'dashboard_glance_items', array() ); 224 if ( $elements ) { 225 echo '<li>' . implode( "</li>\n<li>", $elements ) . "</li>\n"; 226 } 227 217 228 ?> 218 229 </ul>
Note: See TracChangeset
for help on using the changeset viewer.