Changeset 2041
- Timestamp:
- 11/05/2015 06:44:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php
r2010 r2041 37 37 38 38 /** 39 * Filters wp_title to print a neat <title> tagbased on what is being viewed.39 * Filters document title to add context based on what is being viewed. 40 40 * 41 41 * @param array $parts The document title parts. 42 42 * @return array The document title parts. 43 43 */ 44 function wporg_developer_ wp_title( $parts ) {44 function wporg_developer_document_title( $parts ) { 45 45 global $page, $paged; 46 46 … … 88 88 return $parts; 89 89 } 90 add_filter( 'document_title_parts', 'wporg_developer_ wp_title' );90 add_filter( 'document_title_parts', 'wporg_developer_document_title' ); 91 91 92 92 /**
Note: See TracChangeset
for help on using the changeset viewer.