[ Index ] |
PHP Cross Reference of BBPress |
[Source view] [Print] [Project Stats]
bbPress User Options
File Size: | 355 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bbp_get_default_user_options() X-Ref |
Get the default user options and their values return: array Filtered user option names and values since: 2.1.0 bbPress (r3910) |
bbp_add_user_options( $user_id = 0 ) X-Ref |
Add default user options This is destructive, so existing bbPress user options will be overridden. since: 2.1.0 bbPress (r3910) |
bbp_delete_user_options( $user_id = 0 ) X-Ref |
Delete default user options Hooked to bbp_uninstall, it is only called once when bbPress is uninstalled. This is destructive, so existing bbPress user options will be destroyed. since: 2.1.0 bbPress (r3910) |
bbp_setup_user_option_filters() X-Ref |
Add filters to each bbPress option and allow them to be overloaded from inside the $bbp->options array. since: 2.1.0 bbPress (r3910) |
bbp_filter_get_user_option( $value = false, $option = '', $user = 0 ) X-Ref |
Filter default options and allow them to be overloaded from inside the $bbp->user_options array. return: mixed false if not overloaded, mixed if set since: 2.1.0 bbPress (r3910) param: bool $value Optional. Default value false |
bbp_update_user_topic_count( $user_id = 0, $count = false ) X-Ref |
Update the topic count for a user return: boolean since: 2.6.0 bbPress (r5309) param: int $user_id param: mixed $count |
bbp_update_user_reply_count( $user_id = 0, $count = false ) X-Ref |
Update the reply count for a user return: boolean since: 2.6.0 bbPress (r5309) param: int $user_id param: mixed $count |
bbp_user_topic_count( $user_id = 0, $integer = false ) X-Ref |
Output a users topic count return: string since: 2.1.0 bbPress (r3632) param: int $user_id param: boolean $integer Optional. Whether or not to format the result |
bbp_get_user_topic_count( $user_id = 0, $integer = false ) X-Ref |
Return a users reply count return: string since: 2.1.0 bbPress (r3632) param: int $user_id param: boolean $integer Optional. Whether or not to format the result |
bbp_user_reply_count( $user_id = 0, $integer = false ) X-Ref |
Output a users reply count return: string since: 2.1.0 bbPress (r3632) param: int $user_id param: boolean $integer Optional. Whether or not to format the result |
bbp_get_user_reply_count( $user_id = 0, $integer = false ) X-Ref |
Return a users reply count return: string since: 2.1.0 bbPress (r3632) param: int $user_id param: boolean $integer Optional. Whether or not to format the result |
bbp_user_post_count( $user_id = 0, $integer = false ) X-Ref |
Output a users total post count return: string since: 2.1.0 bbPress (r3632) param: int $user_id param: boolean $integer Optional. Whether or not to format the result |
bbp_get_user_post_count( $user_id = 0, $integer = false ) X-Ref |
Return a users total post count return: string since: 2.1.0 bbPress (r3632) param: int $user_id param: boolean $integer Optional. Whether or not to format the result |
bbp_update_user_last_posted( $user_id = 0, $time = 0 ) X-Ref |
Update a users last posted time, for use with post throttling return: bool False if no user or failure, true if successful since: 2.1.0 bbPress (r3910) param: int $user_id User ID to update param: int $time Time in time() format |
bbp_user_last_posted( $user_id = 0 ) X-Ref |
Output the raw value of the last posted time. since: 2.1.0 bbPress (r3910) param: int $user_id User ID to retrieve value for |
bbp_get_user_last_posted( $user_id = 0 ) X-Ref |
Return the raw value of the last posted time. return: mixed False if no user, time() format if exists since: 2.1.0 bbPress (r3910) param: int $user_id User ID to retrieve value for |
Generated: Thu Jan 30 01:00:58 2025 | Cross-referenced by PHPXref 0.7.1 |