Changeset 2190 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
- Timestamp:
- 12/13/2015 04:22:44 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r2095 r2190 251 251 return $translations; 252 252 } 253 254 /** 255 * Override the embed template with our own 256 */ 257 function wporg_themes_embed_template( $template ) { 258 $theme_embed_template = locate_template( 'embed.php' ); 259 if ( $theme_embed_template ) { 260 return $theme_embed_template; 261 } 262 return $template; 263 } 264 add_filter('embed_template', 'wporg_themes_embed_template'); 265
Note: See TracChangeset
for help on using the changeset viewer.