[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/core/ -> sub-actions.php (summary)

Plugin Dependency The purpose of the following hooks is to mimic the behavior of something called 'plugin dependency' which enables a plugin to have plugins of their own in a safe and reliable way.

File Size: 553 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 43 functions

  bbp_activation()
  bbp_deactivation()
  bbp_uninstall()
  bbp_loaded()
  bbp_constants()
  bbp_boot_strap_globals()
  bbp_includes()
  bbp_setup_globals()
  bbp_register()
  bbp_init()
  bbp_roles_init()
  bbp_widgets_init()
  bbp_setup_current_user()
  bbp_setup_engagements()
  bbp_load_textdomain()
  bbp_register_post_types()
  bbp_register_post_statuses()
  bbp_register_taxonomies()
  bbp_register_views()
  bbp_register_shortcodes()
  bbp_register_meta()
  bbp_enqueue_scripts()
  bbp_add_rewrite_tags()
  bbp_add_rewrite_rules()
  bbp_add_permastructs()
  bbp_login_form_login()
  bbp_transition_post_status()
  bbp_profile_update()
  bbp_user_register()
  bbp_ready()
  bbp_template_redirect()
  bbp_register_theme_packages()
  bbp_setup_theme()
  bbp_after_setup_theme()
  bbp_post_request()
  bbp_get_request()
  bbp_plugin_locale()
  bbp_request()
  bbp_template_include()
  bbp_generate_rewrite_rules()
  bbp_allowed_themes()
  bbp_map_meta_caps()
  bbp_mail()

Functions
Functions that are not part of a class:

bbp_activation()   X-Ref
Runs on bbPress activation

since: 2.0.0 bbPress (r2509)

bbp_deactivation()   X-Ref
Runs on bbPress deactivation

since: 2.0.0 bbPress (r2509)

bbp_uninstall()   X-Ref
Runs when uninstalling bbPress

since: 2.0.0 bbPress (r2509)

bbp_loaded()   X-Ref
Main action responsible for constants, globals, and includes

since: 2.0.0 bbPress (r2599)

bbp_constants()   X-Ref
Setup constants

since: 2.0.0 bbPress (r2599)

bbp_boot_strap_globals()   X-Ref
Setup globals BEFORE includes

since: 2.0.0 bbPress (r2599)

bbp_includes()   X-Ref
Include files

since: 2.0.0 bbPress (r2599)

bbp_setup_globals()   X-Ref
Setup globals AFTER includes

since: 2.0.0 bbPress (r2599)

bbp_register()   X-Ref
Register any objects before anything is initialized

since: 2.2.0 bbPress (r4180)

bbp_init()   X-Ref
Initialize any code after everything has been loaded

since: 2.0.0 bbPress (r2599)

bbp_roles_init( $wp_roles )   X-Ref
Initialize roles

since: 2.6.0 bbPress (r6106)
param: WP_Roles $wp_roles The array of WP_Role objects that was initialized

bbp_widgets_init()   X-Ref
Initialize widgets

since: 2.0.0 bbPress (r3389)

bbp_setup_current_user()   X-Ref
Setup the currently logged-in user

since: 2.0.0 bbPress (r2695)

bbp_setup_engagements()   X-Ref
Setup the user engagements strategy

since: 2.6.0 bbPress (r6875)

bbp_load_textdomain()   X-Ref
Load translations for current language

since: 2.0.0 bbPress (r2599)

bbp_register_post_types()   X-Ref
Setup the post types

since: 2.0.0 bbPress (r2464)

bbp_register_post_statuses()   X-Ref
Setup the post statuses

since: 2.0.0 bbPress (r2727)

bbp_register_taxonomies()   X-Ref
Register the built in bbPress taxonomies

since: 2.0.0 bbPress (r2464)

bbp_register_views()   X-Ref
Register the default bbPress views

since: 2.0.0 bbPress (r2789)

bbp_register_shortcodes()   X-Ref
Register the default bbPress shortcodes

since: 2.2.0 bbPress (r4211)

bbp_register_meta()   X-Ref
Register the default bbPress meta-data

since: 2.6.0 bbPress (r46300)

bbp_enqueue_scripts()   X-Ref
Enqueue bbPress specific CSS and JS

since: 2.0.0 bbPress (r3373)

bbp_add_rewrite_tags()   X-Ref
Add the bbPress-specific rewrite tags

since: 2.0.0 bbPress (r2753)

bbp_add_rewrite_rules()   X-Ref
Add the bbPress-specific rewrite rules

since: 2.4.0 bbPress (r4918)

bbp_add_permastructs()   X-Ref
Add the bbPress-specific permalink structures

since: 2.4.0 bbPress (r4918)

bbp_login_form_login()   X-Ref
Add the bbPress-specific login forum action

since: 2.0.0 bbPress (r2753)

bbp_transition_post_status( $new_status = '', $old_status = '', $post = false )   X-Ref
Add the bbPress-specific post status transition action

since: 2.6.0 bbPress (r6792)
param: string  $new_status New post status
param: string  $old_status Old post status
param: WP_Post $post       Post object

bbp_profile_update( $user_id = 0, $old_user_data = array()   X-Ref
The main action for hooking into when a user account is updated

since: 2.2.0 bbPress (r4304)
param: int $user_id ID of user being edited
param: array $old_user_data The old, unmodified user data

bbp_user_register( $user_id = 0 )   X-Ref
The main action for hooking into a user being registered

since: 2.2.0 bbPress (r4304)
param: int $user_id ID of user being edited

bbp_ready()   X-Ref
bbPress has loaded and initialized everything, and is okay to go

since: 2.0.0 bbPress (r2618)

bbp_template_redirect()   X-Ref
The main action used for redirecting bbPress theme actions that are not
permitted by the current_user

since: 2.1.0 bbPress (r3605)

bbp_register_theme_packages()   X-Ref
The main action used for executing code before the theme has been setup

since: 2.1.0 bbPress (r3829)

bbp_setup_theme()   X-Ref
The main action used for executing code before the theme has been setup

since: 2.1.0 bbPress (r3732)

bbp_after_setup_theme()   X-Ref
The main action used for executing code after the theme has been setup

since: 2.1.0 bbPress (r3732)

bbp_post_request()   X-Ref
The main action used for handling theme-side POST requests

since: 2.3.0 bbPress (r4550)

bbp_get_request()   X-Ref
The main action used for handling theme-side GET requests

since: 2.3.0 bbPress (r4550)

bbp_plugin_locale( $locale = '', $domain = '' )   X-Ref
Filter the plugin locale and domain.

since: 2.2.0 bbPress (r4213)
param: string $locale
param: string $domain

bbp_request( $query_vars = array()   X-Ref
Piggy back filter for WordPress's 'request' filter

return: array
since: 2.1.0 bbPress (r3758)
param: array $query_vars

bbp_template_include( $template = '' )   X-Ref
The main filter used for theme compatibility and displaying custom bbPress
theme files.

return: string Template file to use
since: 2.0.0 bbPress (r3311)
param: string $template

bbp_generate_rewrite_rules( $wp_rewrite )   X-Ref
Generate bbPress-specific rewrite rules

since: 2.0.0 bbPress (r2688)
param: WP_Rewrite $wp_rewrite

bbp_allowed_themes( $themes )   X-Ref
Filter the allowed themes list for bbPress specific themes

return: array Array of allowed themes
since: 2.0.0 bbPress (r2944)
param: array $themes

bbp_map_meta_caps( $caps = array()   X-Ref
Maps forum/topic/reply caps to built in WordPress caps

return: array Array of capabilities
since: 2.0.0 bbPress (r2593)
param: array $caps Capabilities for meta capability
param: string $cap Capability name
param: int $user_id User id
param: array $args Arguments

bbp_mail( $args = array()   X-Ref
Filter the arguments used by wp_mail for bbPress specific emails

return: array Array of capabilities
since: 2.6.0 bbPress (r6918)
param: array $args A compacted array of wp_mail() arguments, including the "to" email,



Generated: Sat Apr 27 01:00:49 2024 Cross-referenced by PHPXref 0.7.1