[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

Deprecated Functions

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

Defines 41 functions

  bp_setup_root_components()
  bp_core_is_multisite()
  bp_core_is_main_site()
  is_site_admin()
  bp_core_add_admin_menu_page()
  bp_is_activity_permalink()
  bp_core_get_wp_profile()
  bp_is_home()
  bp_is_front_page()
  bp_is_activity_front_page()
  bp_is_member()
  bp_loggedinuser_link()
  bp_search_form_enabled()
  bp_page_title()
  bp_get_page_title()
  bp_log_out_link()
  groups_at_message_notification()
  bp_core_delete_notifications_for_user_by_type()
  bp_core_delete_notifications_for_user_by_item_id()
  bp_search_form()
  bp_is_profile_edit()
  bp_is_change_avatar()
  bp_is_friend_requests()
  bp_core_is_root_component()
  bp_dtheme_deprecated()
  bp_dtheme_wp_pages_filter()
  bp_dtheme_page_on_front_update()
  bp_dtheme_page_on_front_template()
  bp_dtheme_fix_get_posts_on_activity_front()
  bp_dtheme_fix_the_posts_on_activity_front()
  bp_dtheme_add_blog_comments_js()
  bp_core_add_settings_nav()
  bp_core_screen_general_settings()
  bp_core_screen_general_settings_title()
  bp_core_screen_general_settings_content()
  bp_core_screen_notification_settings()
  bp_core_screen_notification_settings_title()
  bp_core_screen_notification_settings_content()
  bp_core_screen_delete_account()
  bp_core_screen_delete_account_title()
  bp_core_screen_delete_account_content()

Functions
Functions that are not part of a class:

bp_setup_root_components()   X-Ref


bp_core_is_multisite()   X-Ref
bp_core_is_multisite()

This function originally served as a wrapper when WordPress and WordPress MU were separate entities.
Use is_multisite() instead.

return: bool

bp_core_is_main_site( $blog_id = '' )   X-Ref
bp_core_is_main_site

Checks if current blog is root blog of site. Deprecated in 1.5.

param: int|string $blog_id optional blog id to test (default current blog)
since: 1.2.6
return: bool True if not multisite or $blog_id is main site

is_site_admin( $user_id = false )   X-Ref
WPMU version of is_super_admin()

param: int|bool $user_id Optional. Defaults to logged-in user
return: bool True if is super admin

bp_core_add_admin_menu_page( $args = '' )   X-Ref
In BuddyPress 1.1 - 1.2.x, this function provided a better version of add_menu_page()
that allowed positioning of menus. Deprecated in 1.5 in favor of a WP core function.

since: 1.1.0
return: string

bp_is_activity_permalink()   X-Ref


bp_core_get_wp_profile()   X-Ref


bp_is_home()   X-Ref


bp_is_front_page()   X-Ref
Is the user on the front page of the site?

return: bool

bp_is_activity_front_page()   X-Ref
Is the front page of the site set to the Activity component?

return: bool

bp_is_member()   X-Ref


bp_loggedinuser_link()   X-Ref


bp_search_form_enabled()   X-Ref
Only show the search form if there are available objects to search for.
Deprecated in 1.5; not used anymore.

return: bool

bp_page_title()   X-Ref
Template tag version of bp_get_page_title()

since: 1.0.0

bp_get_page_title()   X-Ref
Prior to BuddyPress 1.5, this was used to generate the page's <title> text.
Now, just simply use wp_title().

since: 1.0.0
return: string

bp_log_out_link()   X-Ref
Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url().

since: 1.0.0

groups_at_message_notification( $content, $poster_user_id, $group_id, $activity_id )   X-Ref
Send an email and a BP notification on receipt of an @-mention in a group


bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action )   X-Ref
BP 1.5 simplified notification functions a bit

return: mixed

bp_core_delete_notifications_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false )   X-Ref

return: mixed

bp_search_form()   X-Ref
Last used by core in BP 1.1. The markup was merged into DTheme's header.php template.


bp_is_profile_edit()   X-Ref
Some _is_ function had their names normalized


bp_is_change_avatar()   X-Ref


bp_is_friend_requests()   X-Ref


bp_core_is_root_component( $component_name )   X-Ref
Checks to see if a component's URL should be in the root, not under a member page:
eg: http://example.com/groups/the-group NOT http://example.com/members/andy/groups/the-group
You should be using bp_is_root_component().

return: bool True if root component, else false.

bp_dtheme_deprecated()   X-Ref
Contains functions which were moved out of BP-Default's functions.php
in BuddyPress 1.5.

since: 1.5.0

bp_dtheme_wp_pages_filter( $page_html )   X-Ref
In BuddyPress 1.2.x, this function filtered the dropdown on the
Settings > Reading screen for selecting the page to show on front to
include "Activity Stream." As of 1.5.x, it is no longer required.

param: string $page_html A list of pages as a dropdown (select list)
since: 1.2.0
return: string

bp_dtheme_page_on_front_update( $oldvalue, $newvalue )   X-Ref
In BuddyPress 1.2.x, this function hijacked the saving of page on front setting to save the activity stream setting.
As of 1.5.x, it is no longer required.

param: string $oldvalue Previous value of get_option( 'page_on_front' )
param: string $oldvalue New value of get_option( 'page_on_front' )
since: 1.2.0
return: false|string

bp_dtheme_page_on_front_template( $template )   X-Ref
In BuddyPress 1.2.x, this function loaded the activity stream template if the front page display settings allow.
As of 1.5.x, it is no longer required.

param: string $template Absolute path to the page template
since: 1.2.0
return: string

bp_dtheme_fix_get_posts_on_activity_front()   X-Ref
In BuddyPress 1.2.x, this forced the page ID as a string to stop the get_posts query from kicking up a fuss.
As of 1.5.x, it is no longer required.

since: 1.2.0

bp_dtheme_fix_the_posts_on_activity_front( $posts )   X-Ref
In BuddyPress 1.2.x, this was used as part of the code that set the activity stream to be on the front page.
As of 1.5.x, it is no longer required.

param: array $posts Posts as retrieved by WP_Query
since: 1.2.5
return: array

bp_dtheme_add_blog_comments_js()   X-Ref
In BuddyPress 1.2.x, this added the JavaScript needed for blog comment replies.
As of 1.5.x, we recommend that you enqueue the comment-reply JavaScript in your theme's header.php.

since: 1.2.0

bp_core_add_settings_nav()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as the nav structure is set up by the {@link BP_Component} class.

since: 1.6.0

bp_core_screen_general_settings()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_general_settings_title()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_general_settings_content()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_notification_settings()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_notification_settings_title()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_notification_settings_content()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_delete_account()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_delete_account_title()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0

bp_core_screen_delete_account_content()   X-Ref
In BP 1.5, the Settings functions were moved out of the Core and Members
components, and moved into a new Settings component. This function is no
longer needed as new template files for the Settings component were
introduced.

since: 1.6.0



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