[ Index ] |
PHP Cross Reference of BBPress |
[Source view] [Print] [Project Stats]
bbPress Core Functions
File Size: | 702 lines (16 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bbp_version() X-Ref |
Output the bbPress version since: 2.0.0 bbPress (r3468) |
bbp_get_version() X-Ref |
Return the bbPress version since: 2.0.0 bbPress (r3468) |
bbp_asset_version() X-Ref |
Output the bbPress asset version since: 2.6.7 bbPress (r7188) |
bbp_get_asset_version() X-Ref |
Return the bbPress asset version since: 2.6.7 bbPress (r7188) |
bbp_db_version() X-Ref |
Output the bbPress database version since: 2.0.0 bbPress (r3468) |
bbp_get_db_version() X-Ref |
Return the bbPress database version since: 2.0.0 bbPress (r3468) |
bbp_db_version_raw() X-Ref |
Output the bbPress database version directly from the database since: 2.0.0 bbPress (r3468) |
bbp_get_db_version_raw() X-Ref |
Return the bbPress database version directly from the database since: 2.0.0 bbPress (r3468) |
bbp_update_forum_id( $post_id = 0, $forum_id = 0 ) X-Ref |
Update the forum meta ID of a post since: 2.0.0 bbPress (r3181) param: int $post_id The post to update param: int $forum_id The forum |
bbp_update_topic_id( $post_id = 0, $topic_id = 0 ) X-Ref |
Update the topic meta ID of a post since: 2.0.0 bbPress (r3181) param: int $post_id The post to update param: int $topic_id The topic |
bbp_update_reply_id( $post_id = 0, $reply_id = 0 ) X-Ref |
Update the reply meta ID of a post since: 2.0.0 bbPress (r3181) param: int $post_id The post to update param: int $reply_id The reply |
bbp_update_reply_to_id( $post_id = 0, $reply_id = 0 ) X-Ref |
Update the reply-to meta ID of a post since: 2.6.0 bbPress (r5735) param: int $post_id The post to update param: int $reply_id The reply ID |
bbp_get_views() X-Ref |
Get the registered views Does nothing much other than return the {@link $bbp->views} variable since: 2.0.0 bbPress (r2789) return: array Views |
bbp_register_view( $view, $title, $query_args = '', $feed = true, $capability = '' ) X-Ref |
Register a bbPress view since: 2.0.0 bbPress (r2789) param: string $view View name param: string $title View title param: mixed $query_args {@link bbp_has_topics()} arguments. param: bool $feed Have a feed for the view? Defaults to true. param: string $capability Capability that the current user must have return: array The just registered (but processed) view |
bbp_deregister_view( $view ) X-Ref |
Deregister a bbPress view since: 2.0.0 bbPress (r2789) param: string $view View name return: bool False if the view doesn't exist, true on success |
bbp_view_query( $view = '', $new_args = '' ) X-Ref |
Run the query of a topic-view since: 2.0.0 bbPress (r2789) param: string $view Optional. View id param: mixed $new_args New arguments. See {@link bbp_has_topics()} return: bool False if the view doesn't exist, otherwise if topics are there |
bbp_get_view_query_args( $view = '' ) X-Ref |
Return the query arguments of a topic-view since: 2.0.0 bbPress (r2789) param: string $view View name return: array Query arguments |
bbp_add_error( $code = '', $message = '', $data = '' ) X-Ref |
Adds an error message to later be output in the theme since: 2.0.0 bbPress (r3381) param: string $code Unique code for the error message param: string $message Translated error message param: string $data Any additional data passed with the error message |
bbp_has_errors() X-Ref |
Check if error messages exist in queue since: 2.0.0 bbPress (r3381) |
bbp_find_mentions_pattern() X-Ref |
Set the pattern used for matching usernames for mentions. Moved into its own function to allow filtering of the regex pattern anywhere mentions might be used. since: 2.4.0 bbPress (r4997) return: string Pattern to match usernames with |
bbp_find_mentions( $content = '' ) X-Ref |
Searches through the content to locate usernames, designated by an @ sign. since: 2.2.0 bbPress (r4323) param: string $content The content return: bool|array $usernames Existing usernames. False if no matches. |
bbp_mention_filter( $content = '' ) X-Ref |
Finds and links @-mentioned users in the content since: 2.2.0 bbPress (r4323) return: string $content Content filtered for mentions |
bbp_get_public_status_id() X-Ref |
Return the public post status ID since: 2.0.0 bbPress (r3504) return: string |
bbp_get_pending_status_id() X-Ref |
Return the pending post status ID since: 2.1.0 bbPress (r3581) return: string |
bbp_get_private_status_id() X-Ref |
Return the private post status ID since: 2.0.0 bbPress (r3504) return: string |
bbp_get_hidden_status_id() X-Ref |
Return the hidden post status ID since: 2.0.0 bbPress (r3504) return: string |
bbp_get_closed_status_id() X-Ref |
Return the closed post status ID since: 2.0.0 bbPress (r3504) return: string |
bbp_get_spam_status_id() X-Ref |
Return the spam post status ID since: 2.0.0 bbPress (r3504) return: string |
bbp_get_trash_status_id() X-Ref |
Return the trash post status ID since: 2.0.0 bbPress (r3504) return: string |
bbp_get_orphan_status_id() X-Ref |
Return the orphan post status ID since: 2.0.0 bbPress (r3504) return: string |
bbp_get_user_rewrite_id() X-Ref |
Return the unique ID for user profile rewrite rules since: 2.1.0 bbPress (r3762) return: string |
bbp_get_edit_rewrite_id() X-Ref |
Return the unique ID for all edit rewrite rules (forum|topic|reply|tag|user) since: 2.1.0 bbPress (r3762) return: string |
bbp_get_search_rewrite_id() X-Ref |
Return the unique ID for all search rewrite rules since: 2.3.0 bbPress (r4579) return: string |
bbp_get_user_topics_rewrite_id() X-Ref |
Return the unique ID for user topics rewrite rules since: 2.2.0 bbPress (r4321) return: string |
bbp_get_user_replies_rewrite_id() X-Ref |
Return the unique ID for user replies rewrite rules since: 2.2.0 bbPress (r4321) return: string |
bbp_get_user_favorites_rewrite_id() X-Ref |
Return the unique ID for user favorites rewrite rules since: 2.2.0 bbPress (r4181) return: string |
bbp_get_user_subscriptions_rewrite_id() X-Ref |
Return the unique ID for user subscriptions rewrite rules since: 2.2.0 bbPress (r4181) return: string |
bbp_get_user_engagements_rewrite_id() X-Ref |
Return the unique ID for user engagement rewrite rules since: 2.6.0 bbPress (r6320) return: string |
bbp_get_view_rewrite_id() X-Ref |
Return the unique ID for topic view rewrite rules since: 2.1.0 bbPress (r3762) return: string |
bbp_get_paged_rewrite_id() X-Ref |
Get the id used for paginated requests since: 2.4.0 bbPress (r4926) return: string |
bbp_delete_rewrite_rules() X-Ref |
Delete a blogs rewrite rules, so that they are automatically rebuilt on the subsequent page load. since: 2.2.0 bbPress (r4198) |
bbp_is_post_request() X-Ref |
Return true|false if this is a POST request since: 2.3.0 bbPress (r4790) return: bool |
bbp_is_get_request() X-Ref |
Return true|false if this is a GET request since: 2.3.0 bbPress (r4790) return: bool |
bbp_redirect( $location = '', $status = 302 ) X-Ref |
Perform a safe, local redirect somewhere inside the current site On some setups, passing the value of wp_get_referer() may result in an empty value for $location, which results in an error on redirection. If $location is empty, we can safely redirect back to the forum root. This might change in a future version, possibly to the site root. since: 2.6.0 bbPress (r5658) param: string $location The URL to redirect the user to. param: int $status Optional. The numeric code to give in the redirect |
bbp_doing_script_debug() X-Ref |
Return if debugging scripts or not since: 2.6.7 (r7188) return: bool True if debugging scripts. False if not debugging scripts. |
bbp_doing_autosave() X-Ref |
Return if auto-saving or not since: 2.6.7 (r7188) return: bool True if mid auto-save. False if not mid auto-save. |
Generated: Thu Dec 5 01:00:52 2024 | Cross-referenced by PHPXref 0.7.1 |