Changeset 7597
- Timestamp:
- 08/06/2018 11:42:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
r7596 r7597 272 272 add_action( 'wp_ajax_nopriv_query-attachments', 'frontenberg_wp_ajax_nopriv_query_attachments' ); 273 273 274 /** 275 * Removes tagline, which is used more as a description on this site. 276 * 277 * @param array $title { 278 * The document title parts. 279 * 280 * @type string $title Title of the viewed page. 281 * @type string $page Optional. Page number if paginated. 282 * @type string $tagline Optional. Site description when on home page. 283 * @type string $site Optional. Site title when not on home page. 284 * } 285 */ 286 function gutenberg_title_parts( $title ) { 287 unset( $title['tagline'] ); 288 289 return $title; 290 } 291 add_filter( 'document_title_parts', 'gutenberg_title_parts' ); 292 274 293 if ( ! function_exists( 'gutenbergtheme_setup' ) ) : 275 294 /**
Note: See TracChangeset
for help on using the changeset viewer.