[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/deprecated/ -> 3.0.php (summary)

Deprecated functions.

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

Defines 7 functions

  bp_is_group_forums_active()
  bp_is_user_forums()
  bp_is_group_forum()
  bp_group_new_topic_button()
  bp_get_group_new_topic_button()
  bp_core_action_set_spammer_status()
  bp_core_action_delete_user()

Functions
Functions that are not part of a class:

bp_is_group_forums_active( $default = false )   X-Ref
Check whether bbPress plugin-powered Group Forums are enabled.

return: bool True if group forums are active, otherwise false.
param: bool $default Optional. Fallback value if not found in the database.
since: 1.6.0
since: 3.0.0 $default argument's default value changed from true to false.

bp_is_user_forums()   X-Ref
Is this a user's forums page?

Eg http://example.com/members/joe/forums/ (or a subpage thereof).

return: false
since: 1.5.0

bp_is_group_forum()   X-Ref
Is the current page a group's (legacy bbPress) forum page?

return: bool
since: 1.1.0
since: 3.0.0 Always returns false.

bp_group_new_topic_button( $group = false )   X-Ref
Output a 'New Topic' button for a group.

param: BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.
since: 1.2.7

bp_get_group_new_topic_button( $group = false )   X-Ref
Return a 'New Topic' button for a group.

return: false
param: BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.
since: 1.2.7

bp_core_action_set_spammer_status( $user_id = 0 )   X-Ref
Catch a "Mark as Spammer/Not Spammer" click from the toolbar.

When a site admin selects "Mark as Spammer/Not Spammer" from the admin menu
this action will fire and mark or unmark the user and their blogs as spam.
Must be a site admin for this function to run.

Note: no longer used in the current state. See the Settings component.

param: int $user_id Optional. User ID to mark as spam. Defaults to displayed user.
since: 1.1.0
since: 1.6.0 No longer used, unhooked.
since: 3.0.0 Formally marked as deprecated.

bp_core_action_delete_user()   X-Ref
Process user deletion requests.

Note: no longer used in the current state. See the Settings component.

since: 1.1.0
since: 1.6.0 No longer used, unhooked.
since: 3.0.0 Formally marked as deprecated.



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1