Changeset 11835
- Timestamp:
- 01/29/2018 08:50:43 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 added
- 3 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-theme-compatibility.php
r11360 r11835 988 988 } 989 989 add_action( 'loop_end', 'bp_theme_compat_loop_end' ); 990 991 /** 992 * Get the absolute path to the shared theme assets folder. 993 * 994 * @since 3.0.0 995 * 996 * @return string The absolute path to the shared theme assets folder. 997 */ 998 function bp_get_shared_theme_assets_dir() { 999 1000 /** 1001 * Filters the absolute path to the shared theme assets folder. 1002 * 1003 * @since 3.0.0 1004 * 1005 * @param string $dir The absolute path to the shared theme assets folder. 1006 */ 1007 return apply_filters( 'bp_get_theme_compat_dir', buddypress()->themes_dir . '/shared' ); 1008 } -
trunk/src/class-buddypress.php
r11763 r11835 733 733 // Register the basic theme stack. This is really dope. 734 734 bp_register_template_stack( 'get_stylesheet_directory', 10 ); 735 bp_register_template_stack( 'get_template_directory', 12 ); 736 bp_register_template_stack( 'bp_get_theme_compat_dir', 14 ); 735 bp_register_template_stack( 'get_template_directory', 12 ); 736 bp_register_template_stack( 'bp_get_theme_compat_dir', 14 ); 737 bp_register_template_stack( 'bp_get_shared_theme_assets_dir', 16 ); 737 738 } 738 739
Note: See TracChangeset
for help on using the changeset viewer.