Changeset 6383 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
- Timestamp:
- 01/12/2018 09:37:09 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r6259 r6383 1330 1330 1331 1331 /** 1332 * Gets list of additional resources linked via `@see` tags. 1333 * 1334 * @param null|WP_Post Optional. The post. 1335 * @return array 1336 */ 1337 function get_see_tags( $post = null ) { 1338 $post = get_post( $post ); 1339 1340 $tags = get_post_meta( $post->ID, '_wp-parser_tags', true ); 1341 1342 return wp_list_filter( $tags, array( 'name' => 'see' ) ); 1343 } 1344 1345 /** 1332 1346 * Should the search bar be shown? 1333 1347 *
Note: See TracChangeset
for help on using the changeset viewer.