Changeset 6573 for trunk/src/includes/core/sub-actions.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/sub-actions.php
r6479 r6573 8 8 * own in a safe and reliable way. 9 9 * 10 * We do this in bbPress by mirroring existing WordPress hooks sin many places10 * We do this in bbPress by mirroring existing WordPress hooks in many places 11 11 * allowing dependant plugins to hook into the bbPress specific ones, thus 12 12 * guaranteeing proper code execution only when bbPress is active. 13 13 * 14 * The following functions are wrappers for hooks s, allowing them to be14 * The following functions are wrappers for hooks, allowing them to be 15 15 * manually called and/or piggy-backed on top of other hooks if needed. 16 16 * … … 18 18 * @subpackage Core 19 19 * 20 * @todo use anonymous functions when PHP minimu nrequirement allows (5.3)20 * @todo use anonymous functions when PHP minimum requirement allows (5.3) 21 21 */ 22 22 … … 27 27 * 28 28 * @since 2.0.0 bbPress (r2509) 29 *30 * @uses register_uninstall_hook() To register our own uninstall hook31 * @uses do_action() Calls 'bbp_activation' hook32 29 */ 33 30 function bbp_activation() { … … 39 36 * 40 37 * @since 2.0.0 bbPress (r2509) 41 *42 * @uses do_action() Calls 'bbp_deactivation' hook43 38 */ 44 39 function bbp_deactivation() { … … 50 45 * 51 46 * @since 2.0.0 bbPress (r2509) 52 *53 * @uses do_action() Calls 'bbp_uninstall' hook54 47 */ 55 48 function bbp_uninstall() { … … 63 56 * 64 57 * @since 2.0.0 bbPress (r2599) 65 *66 * @uses do_action() Calls 'bbp_loaded'67 58 */ 68 59 function bbp_loaded() { … … 74 65 * 75 66 * @since 2.0.0 bbPress (r2599) 76 *77 * @uses do_action() Calls 'bbp_constants'78 67 */ 79 68 function bbp_constants() { … … 85 74 * 86 75 * @since 2.0.0 bbPress (r2599) 87 *88 * @uses do_action() Calls 'bbp_boot_strap_globals'89 76 */ 90 77 function bbp_boot_strap_globals() { … … 96 83 * 97 84 * @since 2.0.0 bbPress (r2599) 98 *99 * @uses do_action() Calls 'bbp_includes'100 85 */ 101 86 function bbp_includes() { … … 107 92 * 108 93 * @since 2.0.0 bbPress (r2599) 109 *110 * @uses do_action() Calls 'bbp_setup_globals'111 94 */ 112 95 function bbp_setup_globals() { … … 118 101 * 119 102 * @since 2.2.0 bbPress (r4180) 120 *121 * @uses do_action() Calls 'bbp_register'122 103 */ 123 104 function bbp_register() { … … 129 110 * 130 111 * @since 2.0.0 bbPress (r2599) 131 *132 * @uses do_action() Calls 'bbp_init'133 112 */ 134 113 function bbp_init() { … … 141 120 * @since 2.6.0 bbPress (r6106) 142 121 * 143 * @uses do_action() Calls 'bbp_roles_init'144 *145 122 * @param WP_Roles $wp_roles The array of WP_Role objects that was initialized 146 123 */ … … 153 130 * 154 131 * @since 2.0.0 bbPress (r3389) 155 *156 * @uses do_action() Calls 'bbp_widgets_init'157 132 */ 158 133 function bbp_widgets_init() { … … 167 142 * 168 143 * @since 2.0.0 bbPress (r2695) 169 *170 * @uses do_action() Calls 'bbp_setup_current_user'171 144 */ 172 145 function bbp_setup_current_user() { … … 180 153 * 181 154 * @since 2.0.0 bbPress (r2599) 182 *183 * @uses do_action() Calls 'bbp_load_textdomain'184 155 */ 185 156 function bbp_load_textdomain() { … … 191 162 * 192 163 * @since 2.0.0 bbPress (r2464) 193 *194 * @uses do_action() Calls 'bbp_register_post_type'195 164 */ 196 165 function bbp_register_post_types() { … … 202 171 * 203 172 * @since 2.0.0 bbPress (r2727) 204 *205 * @uses do_action() Calls 'bbp_register_post_statuses'206 173 */ 207 174 function bbp_register_post_statuses() { … … 213 180 * 214 181 * @since 2.0.0 bbPress (r2464) 215 *216 * @uses do_action() Calls 'bbp_register_taxonomies'217 182 */ 218 183 function bbp_register_taxonomies() { … … 224 189 * 225 190 * @since 2.0.0 bbPress (r2789) 226 *227 * @uses do_action() Calls 'bbp_register_views'228 191 */ 229 192 function bbp_register_views() { … … 235 198 * 236 199 * @since 2.2.0 bbPress (r4211) 237 *238 * @uses do_action() Calls 'bbp_register_shortcodes'239 200 */ 240 201 function bbp_register_shortcodes() { … … 246 207 * 247 208 * @since 2.6.0 bbPress (r46300) 248 *249 * @uses do_action() Calls 'bbp_register_meta'250 209 */ 251 210 function bbp_register_meta() { … … 257 216 * 258 217 * @since 2.0.0 bbPress (r3373) 259 *260 * @uses do_action() Calls 'bbp_enqueue_scripts'261 218 */ 262 219 function bbp_enqueue_scripts() { … … 268 225 * 269 226 * @since 2.0.0 bbPress (r2753) 270 *271 * @uses do_action() Calls 'bbp_add_rewrite_tags'272 227 */ 273 228 function bbp_add_rewrite_tags() { … … 279 234 * 280 235 * @since 2.4.0 bbPress (r4918) 281 *282 * @uses do_action() Calls 'bbp_add_rewrite_rules'283 236 */ 284 237 function bbp_add_rewrite_rules() { … … 290 243 * 291 244 * @since 2.4.0 bbPress (r4918) 292 *293 * @uses do_action() Calls 'bbp_add_permastructs'294 245 */ 295 246 function bbp_add_permastructs() { … … 301 252 * 302 253 * @since 2.0.0 bbPress (r2753) 303 *304 * @uses do_action() Calls 'bbp_login_form_login'305 254 */ 306 255 function bbp_login_form_login() { … … 317 266 * @param int $user_id ID of user being edited 318 267 * @param array $old_user_data The old, unmodified user data 319 * @uses do_action() Calls 'bbp_profile_update'320 268 */ 321 269 function bbp_profile_update( $user_id = 0, $old_user_data = array() ) { … … 329 277 * 330 278 * @param int $user_id ID of user being edited 331 * @uses do_action() Calls 'bbp_user_register'332 279 */ 333 280 function bbp_user_register( $user_id = 0 ) { … … 341 288 * 342 289 * @since 2.0.0 bbPress (r2618) 343 *344 * @uses do_action() Calls 'bbp_ready'345 290 */ 346 291 function bbp_ready() { … … 355 300 * 356 301 * @since 2.1.0 bbPress (r3605) 357 *358 * @uses do_action()359 302 */ 360 303 function bbp_template_redirect() { … … 368 311 * 369 312 * @since 2.1.0 bbPress (r3829) 370 *371 * @uses do_action()372 313 */ 373 314 function bbp_register_theme_packages() { … … 379 320 * 380 321 * @since 2.1.0 bbPress (r3732) 381 *382 * @uses do_action()383 322 */ 384 323 function bbp_setup_theme() { … … 390 329 * 391 330 * @since 2.1.0 bbPress (r3732) 392 *393 * @uses do_action()394 331 */ 395 332 function bbp_after_setup_theme() { … … 401 338 * 402 339 * @since 2.3.0 bbPress (r4550) 403 *404 * @uses do_action()405 340 */ 406 341 function bbp_post_request() { … … 431 366 * 432 367 * @since 2.3.0 bbPress (r4550) 433 *434 * @uses do_action()435 368 */ 436 369 function bbp_get_request() { … … 493 426 * @since 2.0.0 bbPress (r3311) 494 427 * 495 * @uses apply_filters()496 428 * @param string $template 497 429 * @return string Template file to use … … 511 443 * 512 444 * @param WP_Rewrite $wp_rewrite 513 * @uses do_action() Calls 'bbp_generate_rewrite_rules' with {@link WP_Rewrite}514 445 */ 515 446 function bbp_generate_rewrite_rules( $wp_rewrite ) { … … 523 454 * 524 455 * @param array $themes 525 * @uses apply_filters() Calls 'bbp_allowed_themes' with the allowed themes list526 456 * 527 457 * @return array Array of allowed themes
Note: See TracChangeset
for help on using the changeset viewer.