Changeset 4504 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
- Timestamp:
- 12/08/2016 12:38:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r4481 r4504 38 38 'caption', 39 39 ) ); 40 41 40 } 42 41 add_action( 'after_setup_theme', __NAMESPACE__ . '\setup' ); … … 275 274 return '<strong>' . $term . '</strong>'; 276 275 } 277 add_filter( 'post_type_archive_title', __NAMESPACE__ . '\strong_archive_title' ); 278 add_filter( 'single_term_title', __NAMESPACE__ . '\strong_archive_title' ); 279 add_filter( 'single_cat_title', __NAMESPACE__ . '\strong_archive_title' ); 280 add_filter( 'single_tag_title', __NAMESPACE__ . '\strong_archive_title' ); 281 add_filter( 'get_the_date', __NAMESPACE__ . '\strong_archive_title' ); 276 add_action( 'wp_head', function() { 277 add_filter( 'post_type_archive_title', __NAMESPACE__ . '\strong_archive_title' ); 278 add_filter( 'single_term_title', __NAMESPACE__ . '\strong_archive_title' ); 279 add_filter( 'single_cat_title', __NAMESPACE__ . '\strong_archive_title' ); 280 add_filter( 'single_tag_title', __NAMESPACE__ . '\strong_archive_title' ); 281 add_filter( 'get_the_date', __NAMESPACE__ . '\strong_archive_title' ); 282 } ); 282 283 283 284 /**
Note: See TracChangeset
for help on using the changeset viewer.