Changeset 11437 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php
- Timestamp:
- 01/13/2022 02:34:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/helper-functions.php
r11425 r11437 50 50 gp_enqueue_script( 'wporg-translate-editor' ); 51 51 } 52 53 add_action( 'after_setup_theme', static function() { 54 add_theme_support( 'title-tag' ); 55 }); 56 add_action( 'gp_head', '_wp_render_title_tag' ); 57 add_filter( 'document_title_parts', static function() { 58 return [ 59 'title' => gp_title(), 60 ]; 61 }, 1 ); 52 62 53 63 /**
Note: See TracChangeset
for help on using the changeset viewer.