Changeset 9218 for trunk/src/bp-blogs/bp-blogs-screens.php
- Timestamp:
- 12/09/2014 12:54:33 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-screens.php
r9157 r9218 18 18 return false; 19 19 20 /** 21 * Fires right before the loading of the My Blogs screen template file. 22 * 23 * @since BuddyPress (1.0.0) 24 */ 20 25 do_action( 'bp_blogs_screen_my_blogs' ); 21 26 … … 34 39 return false; 35 40 41 /** 42 * Fires right before the loading of the Create A Blog screen template file. 43 * 44 * @since BuddyPress (1.0.0) 45 */ 36 46 do_action( 'bp_blogs_screen_create_a_blog' ); 37 47 … … 47 57 bp_update_is_directory( true, 'blogs' ); 48 58 59 /** 60 * Fires right before the loading of the top-level Blogs screen template file. 61 * 62 * @since BuddyPress (1.0.0) 63 */ 49 64 do_action( 'bp_blogs_screen_index' ); 50 65 … … 94 109 bp_update_is_directory( true, 'blogs' ); 95 110 111 /** 112 * Fires if in the blog directory and BuddyPress needs Blog theme compatibility, 113 * before the actions and filters are added. 114 * 115 * @since BuddyPress (1.5.0) 116 */ 96 117 do_action( 'bp_blogs_screen_index' ); 97 118 … … 123 144 */ 124 145 public function directory_template_hierarchy( $templates ) { 125 // Setup our templates based on priority 146 147 /** 148 * Filters the custom templates used for theme compat with the blog directory page. 149 * 150 * @since BuddyPress (1.8.0) 151 * 152 * @param array $value Array of template paths to add to template list to look for. 153 */ 126 154 $new_templates = apply_filters( 'bp_template_hierarchy_blogs_create', array( 127 155 'blogs/index-directory.php' … … 179 207 */ 180 208 public function create_template_hierarchy( $templates ) { 181 // Setup our templates based on priority 209 210 /** 211 * Filters the custom templates used for theme compat with the blog create page. 212 * 213 * @since BuddyPress (1.8.0) 214 * 215 * @param array $value Array of template paths to add to template list to look for. 216 */ 182 217 $new_templates = apply_filters( 'bp_template_hierarchy_blogs_create', array( 183 218 'blogs/index-create.php'
Note: See TracChangeset
for help on using the changeset viewer.