[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Deprecated Functions 4 * 5 * @package BuddyPress 6 * @subpackage Core 7 * @deprecated Since 1.5.0 8 */ 9 10 // Exit if accessed directly. 11 defined( 'ABSPATH' ) || exit; 12 13 /** Loader ********************************************************************/ 14 15 /** 16 * @deprecated 1.5.0 17 */ 18 function bp_setup_root_components() { 19 do_action( 'bp_setup_root_components' ); 20 } 21 add_action( 'bp_init', 'bp_setup_root_components', 6 ); 22 23 /** WP Abstraction ************************************************************/ 24 25 /** 26 * bp_core_is_multisite() 27 * 28 * This function originally served as a wrapper when WordPress and WordPress MU were separate entities. 29 * Use is_multisite() instead. 30 * 31 * @deprecated 1.5.0 32 * @deprecated Use is_multisite() 33 * 34 * @return bool 35 */ 36 function bp_core_is_multisite() { 37 _deprecated_function( __FUNCTION__, '1.5', 'is_multisite()' ); 38 return is_multisite(); 39 } 40 41 /** 42 * bp_core_is_main_site 43 * 44 * Checks if current blog is root blog of site. Deprecated in 1.5. 45 * 46 * @deprecated 1.5.0 47 * @deprecated Use is_main_site() 48 * @package BuddyPress 49 * @param int|string $blog_id optional blog id to test (default current blog) 50 * @return bool True if not multisite or $blog_id is main site 51 * @since 1.2.6 52 */ 53 function bp_core_is_main_site( $blog_id = '' ) { 54 _deprecated_function( __FUNCTION__, '1.5', 'is_main_site()' ); 55 return is_main_site( $blog_id ); 56 } 57 58 if ( !function_exists( 'is_site_admin' ) ) { 59 /** 60 * WPMU version of is_super_admin() 61 * 62 * @deprecated 1.5.0 63 * @deprecated Use is_super_admin() 64 * @param int|bool $user_id Optional. Defaults to logged-in user 65 * @return bool True if is super admin 66 */ 67 function is_site_admin( $user_id = false ) { 68 _deprecated_function( __FUNCTION__, '1.5', 'is_super_admin()' ); 69 return is_super_admin( $user_id ); 70 } 71 } 72 73 /** Admin ******************************************************************/ 74 75 /** 76 * In BuddyPress 1.1 - 1.2.x, this function provided a better version of add_menu_page() 77 * that allowed positioning of menus. Deprecated in 1.5 in favor of a WP core function. 78 * 79 * @deprecated 1.5.0 80 * @deprecated Use add_menu_page(). 81 * @since 1.1.0 82 * 83 * @return string 84 */ 85 function bp_core_add_admin_menu_page( $args = '' ) { 86 global $_registered_pages, $admin_page_hooks, $menu; 87 88 _deprecated_function( __FUNCTION__, '1.5', 'Use add_menu_page()' ); 89 90 $defaults = array( 91 'access_level' => 2, 92 'file' => false, 93 'function' => false, 94 'icon_url' => false, 95 'menu_title' => '', 96 'page_title' => '', 97 'position' => 100 98 ); 99 100 $r = bp_parse_args( 101 $args, 102 $defaults 103 ); 104 105 extract( $r, EXTR_SKIP ); 106 107 $file = plugin_basename( $file ); 108 $hookname = get_plugin_page_hookname( $file, '' ); 109 110 $admin_page_hooks[$file] = sanitize_title( $menu_title ); 111 112 if ( !empty( $function ) && !empty ( $hookname ) ) 113 add_action( $hookname, $function ); 114 115 if ( empty( $icon_url ) ) 116 $icon_url = 'images/generic.png'; 117 elseif ( is_ssl() && 0 === strpos( $icon_url, 'http://' ) ) 118 $icon_url = 'https://' . substr( $icon_url, 7 ); 119 120 do { 121 $position++; 122 } while ( !empty( $menu[$position] ) ); 123 124 $menu[$position] = array ( $menu_title, $access_level, $file, $page_title, 'menu-top ' . $hookname, $hookname, $icon_url ); 125 $_registered_pages[$hookname] = true; 126 127 return $hookname; 128 } 129 /** Activity ******************************************************************/ 130 131 /** 132 * @deprecated 1.5.0 133 */ 134 function bp_is_activity_permalink() { 135 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_single_activity' ); 136 bp_is_single_activity(); 137 } 138 139 /** Core **********************************************************************/ 140 141 /** 142 * @deprecated 1.5.0 143 */ 144 function bp_core_get_wp_profile() { 145 _deprecated_function( __FUNCTION__, '1.5' ); 146 147 $ud = get_userdata( bp_displayed_user_id() ); ?> 148 149 <div class="bp-widget wp-profile"> 150 <h4><?php _e( 'My Profile', 'buddypress' ) ?></h4> 151 152 <table class="wp-profile-fields"> 153 154 <?php if ( $ud->display_name ) : ?> 155 156 <tr id="wp_displayname"> 157 <td class="label"><?php _e( 'Name', 'buddypress' ); ?></td> 158 <td class="data"><?php echo $ud->display_name; ?></td> 159 </tr> 160 161 <?php endif; ?> 162 163 <?php if ( $ud->user_description ) : ?> 164 165 <tr id="wp_desc"> 166 <td class="label"><?php _e( 'About Me', 'buddypress' ); ?></td> 167 <td class="data"><?php echo $ud->user_description; ?></td> 168 </tr> 169 170 <?php endif; ?> 171 172 <?php if ( $ud->user_url ) : ?> 173 174 <tr id="wp_website"> 175 <td class="label"><?php _e( 'Website', 'buddypress' ); ?></td> 176 <td class="data"><?php echo make_clickable( $ud->user_url ); ?></td> 177 </tr> 178 179 <?php endif; ?> 180 181 <?php if ( $ud->jabber ) : ?> 182 183 <tr id="wp_jabber"> 184 <td class="label"><?php _e( 'Jabber', 'buddypress' ); ?></td> 185 <td class="data"><?php echo $ud->jabber; ?></td> 186 </tr> 187 188 <?php endif; ?> 189 190 <?php if ( $ud->aim ) : ?> 191 192 <tr id="wp_aim"> 193 <td class="label"><?php _e( 'AOL Messenger', 'buddypress' ); ?></td> 194 <td class="data"><?php echo $ud->aim; ?></td> 195 </tr> 196 197 <?php endif; ?> 198 199 <?php if ( $ud->yim ) : ?> 200 201 <tr id="wp_yim"> 202 <td class="label"><?php _e( 'Yahoo Messenger', 'buddypress' ); ?></td> 203 <td class="data"><?php echo $ud->yim; ?></td> 204 </tr> 205 206 <?php endif; ?> 207 208 </table> 209 </div> 210 211 <?php 212 } 213 214 /** 215 * @deprecated 1.5.0 216 * @deprecated Use bp_is_my_profile() 217 */ 218 function bp_is_home() { 219 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_my_profile' ); 220 return bp_is_my_profile(); 221 } 222 223 /** 224 * Is the user on the front page of the site? 225 * 226 * @deprecated 1.5.0 227 * @deprecated Use is_front_page() 228 * @return bool 229 */ 230 function bp_is_front_page() { 231 _deprecated_function( __FUNCTION__, '1.5', "is_front_page()" ); 232 return is_front_page(); 233 } 234 235 /** 236 * Is the front page of the site set to the Activity component? 237 * 238 * @deprecated 1.5.0 239 * @deprecated Use bp_is_component_front_page( 'activity' ) 240 * @return bool 241 */ 242 function bp_is_activity_front_page() { 243 _deprecated_function( __FUNCTION__, '1.5', "bp_is_component_front_page( 'activity' )" ); 244 return bp_is_component_front_page( 'activity' ); 245 } 246 247 /** 248 * @deprecated 1.5.0 249 * @deprecated use bp_is_user() 250 */ 251 function bp_is_member() { 252 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user' ); 253 return bp_is_user(); 254 } 255 256 /** 257 * @deprecated 1.5.0 258 * @deprecated use bp_loggedin_user_link() 259 */ 260 function bp_loggedinuser_link() { 261 _deprecated_function( __FUNCTION__, '1.5', 'bp_loggedin_user_link' ); 262 bp_loggedin_user_link(); 263 } 264 265 /** 266 * Only show the search form if there are available objects to search for. 267 * Deprecated in 1.5; not used anymore. 268 * 269 * @deprecated 1.5.0 270 * @return bool 271 */ 272 function bp_search_form_enabled() { 273 _deprecated_function( __FUNCTION__, '1.5', 'No longer required.' ); 274 return apply_filters( 'bp_search_form_enabled', true ); 275 } 276 277 /** 278 * Template tag version of bp_get_page_title() 279 * 280 * @deprecated 1.5.0 281 * @deprecated Use wp_title() 282 * @since 1.0.0 283 */ 284 function bp_page_title() { 285 echo bp_get_page_title(); 286 } 287 /** 288 * Prior to BuddyPress 1.5, this was used to generate the page's <title> text. 289 * Now, just simply use wp_title(). 290 * 291 * @deprecated 1.5.0 292 * @deprecated Use wp_title() 293 * @since 1.0.0 294 * 295 * @return string 296 */ 297 function bp_get_page_title() { 298 _deprecated_function( __FUNCTION__, '1.5', 'wp_title()' ); 299 $title = wp_title( '|', false, 'right' ) . get_bloginfo( 'name', 'display' ); 300 301 // Backpat for BP 1.2 filter 302 $title = apply_filters( 'bp_page_title', esc_attr( $title ), esc_attr( $title ) ); 303 304 return apply_filters( 'bp_get_page_title', $title ); 305 } 306 307 /** 308 * Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url(). 309 * 310 * @deprecated 1.5.0 311 * @deprecated Use wp_logout_url() 312 * @since 1.0.0 313 */ 314 function bp_log_out_link() { 315 _deprecated_function( __FUNCTION__, '1.5', 'wp_logout_url()' ); 316 317 $logout_link = '<a href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>'; 318 echo apply_filters( 'bp_logout_link', $logout_link ); 319 } 320 321 /** 322 * Send an email and a BP notification on receipt of an @-mention in a group 323 * 324 * @deprecated 1.5.0 325 * @deprecated Deprecated in favor of the more general bp_activity_at_message_notification() 326 */ 327 function groups_at_message_notification( $content, $poster_user_id, $group_id, $activity_id ) { 328 _deprecated_function( __FUNCTION__, '1.5', 'bp_activity_at_message_notification()' ); 329 330 /* Scan for @username strings in an activity update. Notify each user. */ 331 $pattern = '/[@]+([A-Za-z0-9-_\.@]+)/'; 332 preg_match_all( $pattern, $content, $usernames ); 333 334 /* Make sure there's only one instance of each username */ 335 if ( !$usernames = array_unique( $usernames[1] ) ) 336 return false; 337 338 $group = new BP_Groups_Group( $group_id ); 339 340 foreach( (array) $usernames as $username ) { 341 if ( !$receiver_user_id = bp_core_get_userid( $username ) ) 342 continue; 343 344 /* Check the user is a member of the group before sending the update. */ 345 if ( !groups_is_user_member( $receiver_user_id, $group_id ) ) 346 continue; 347 348 // Now email the user with the contents of the message (if they have enabled email notifications). 349 if ( 'no' != bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ) ) { 350 $poster_name = bp_core_get_user_displayname( $poster_user_id ); 351 352 $message_link = bp_activity_get_permalink( $activity_id ); 353 $settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings'; 354 $settings_link = bp_core_get_user_domain( $receiver_user_id ) . $settings_slug . '/notifications/'; 355 356 $poster_name = stripslashes( $poster_name ); 357 $content = bp_groups_filter_kses( stripslashes( $content ) ); 358 359 // Set up and send the message. 360 $ud = bp_core_get_core_userdata( $receiver_user_id ); 361 $to = $ud->user_email; 362 $subject = bp_get_email_subject( 363 array( 364 'text' => sprintf( 365 /* translators: 1: the poster name. 2: the group name. */ 366 _x( '%1$s mentioned you in the group "%2$s"', 'deprecated string', 'buddypress' ), 367 $poster_name, 368 $group->name 369 ) 370 ) 371 ); 372 373 /* translators: 1: the poster name. 2: the group name. 3: the content of the activity. 4: the activity permalink. */ 374 $message = sprintf( _x( 375 '%1$s mentioned you in the group "%2$s": 376 377 "%3$s" 378 379 To view and respond to the message, log in and visit: %4$s 380 381 --------------------- 382 ', 'deprecated string', 'buddypress' ), $poster_name, $group->name, $content, $message_link ); 383 384 /* Send the message */ 385 $to = apply_filters( 'groups_at_message_notification_to', $to ); 386 $subject = apply_filters( 'groups_at_message_notification_subject', $subject, $group, $poster_name ); 387 $message = apply_filters( 'groups_at_message_notification_message', $message, $group, $poster_name, $content, $message_link, $settings_link ); 388 389 wp_mail( $to, $subject, $message ); 390 } 391 } 392 393 do_action( 'bp_groups_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id ); 394 } 395 396 /** 397 * BP 1.5 simplified notification functions a bit 398 * @deprecated 1.5.0 399 * 400 * @return mixed 401 */ 402 function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) { 403 _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_type()' ); 404 return BP_Core_Notification::delete_for_user_by_type( $user_id, $component_name, $component_action ); 405 } 406 407 /** 408 * @return mixed 409 */ 410 function bp_core_delete_notifications_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) { 411 _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_item_id()' ); 412 return BP_Core_Notification::delete_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id ); 413 } 414 415 /** 416 * Last used by core in BP 1.1. The markup was merged into DTheme's header.php template. 417 * @deprecated 1.5.0 418 */ 419 function bp_search_form() { 420 _deprecated_function( __FUNCTION__, '1.1', 'No longer required.' ); 421 422 $form = ' 423 <form action="' . bp_search_form_action() . '" method="post" id="search-form"> 424 <input type="text" id="search-terms" name="search-terms" value="" /> 425 ' . bp_search_form_type_select() . ' 426 427 <input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" /> 428 ' . wp_nonce_field( 'bp_search_form' ) . ' 429 </form> 430 '; 431 432 echo apply_filters( 'bp_search_form', $form ); 433 } 434 435 /** 436 * Some _is_ function had their names normalized 437 * @deprecated 1.5.0 438 */ 439 function bp_is_profile_edit() { 440 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_profile_edit()' ); 441 return bp_is_user_profile_edit(); 442 } 443 444 /** 445 * @deprecated 1.5.0 446 */ 447 function bp_is_change_avatar() { 448 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_change_avatar()' ); 449 return bp_is_user_change_avatar(); 450 } 451 452 /** 453 * @deprecated 1.5.0 454 */ 455 function bp_is_friend_requests() { 456 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_friend_requests()' ); 457 return bp_is_user_friend_requests(); 458 } 459 460 /** 461 * Checks to see if a component's URL should be in the root, not under a member page: 462 * eg: http://example.com/groups/the-group NOT http://example.com/members/andy/groups/the-group 463 * You should be using bp_is_root_component(). 464 * 465 * @deprecated 1.5.0 466 * @deprecated bp_is_root_component() 467 * @return bool True if root component, else false. 468 */ 469 function bp_core_is_root_component( $component_name ) { 470 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_root_component()' ); 471 return bp_is_root_component( $component_name ); 472 } 473 474 /** Theme *********************************************************************/ 475 476 /** 477 * Contains functions which were moved out of BP-Default's functions.php 478 * in BuddyPress 1.5. 479 * 480 * @deprecated 1.5.0 481 * @since 1.5.0 482 */ 483 function bp_dtheme_deprecated() { 484 if ( !function_exists( 'bp_dtheme_wp_pages_filter' ) ) : 485 /** 486 * In BuddyPress 1.2.x, this function filtered the dropdown on the 487 * Settings > Reading screen for selecting the page to show on front to 488 * include "Activity Stream." As of 1.5.x, it is no longer required. 489 * 490 * @deprecated 1.5.0 491 * @deprecated No longer required. 492 * @param string $page_html A list of pages as a dropdown (select list) 493 * @return string 494 * @see wp_dropdown_pages() 495 * @since 1.2.0 496 */ 497 function bp_dtheme_wp_pages_filter( $page_html ) { 498 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 499 return $page_html; 500 } 501 endif; 502 503 if ( !function_exists( 'bp_dtheme_page_on_front_update' ) ) : 504 /** 505 * In BuddyPress 1.2.x, this function hijacked the saving of page on front setting to save the activity stream setting. 506 * As of 1.5.x, it is no longer required. 507 * 508 * @deprecated 1.5.0 509 * @deprecated No longer required. 510 * @param string $oldvalue Previous value of get_option( 'page_on_front' ) 511 * @param string $oldvalue New value of get_option( 'page_on_front' ) 512 * @return false|string 513 * @since 1.2.0 514 */ 515 function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) { 516 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 517 if ( !is_admin() || !bp_current_user_can( 'bp_moderate' ) ) 518 return false; 519 520 return $oldvalue; 521 } 522 endif; 523 524 if ( !function_exists( 'bp_dtheme_page_on_front_template' ) ) : 525 /** 526 * In BuddyPress 1.2.x, this function loaded the activity stream template if the front page display settings allow. 527 * As of 1.5.x, it is no longer required. 528 * 529 * @deprecated 1.5.0 530 * @deprecated No longer required. 531 * @param string $template Absolute path to the page template 532 * @return string 533 * @since 1.2.0 534 */ 535 function bp_dtheme_page_on_front_template( $template ) { 536 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 537 return $template; 538 } 539 endif; 540 541 if ( !function_exists( 'bp_dtheme_fix_get_posts_on_activity_front' ) ) : 542 /** 543 * In BuddyPress 1.2.x, this forced the page ID as a string to stop the get_posts query from kicking up a fuss. 544 * As of 1.5.x, it is no longer required. 545 * 546 * @deprecated 1.5.0 547 * @deprecated No longer required. 548 * @since 1.2.0 549 */ 550 function bp_dtheme_fix_get_posts_on_activity_front() { 551 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 552 } 553 endif; 554 555 if ( !function_exists( 'bp_dtheme_fix_the_posts_on_activity_front' ) ) : 556 /** 557 * In BuddyPress 1.2.x, this was used as part of the code that set the activity stream to be on the front page. 558 * As of 1.5.x, it is no longer required. 559 * 560 * @deprecated 1.5.0 561 * @deprecated No longer required. 562 * @param array $posts Posts as retrieved by WP_Query 563 * @return array 564 * @since 1.2.5 565 */ 566 function bp_dtheme_fix_the_posts_on_activity_front( $posts ) { 567 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 568 return $posts; 569 } 570 endif; 571 572 if ( !function_exists( 'bp_dtheme_add_blog_comments_js' ) ) : 573 /** 574 * In BuddyPress 1.2.x, this added the JavaScript needed for blog comment replies. 575 * As of 1.5.x, we recommend that you enqueue the comment-reply JavaScript in your theme's header.php. 576 * 577 * @deprecated 1.5.0 578 * @deprecated Enqueue the comment-reply script in your theme's header.php. 579 * @since 1.2.0 580 */ 581 function bp_dtheme_add_blog_comments_js() { 582 _deprecated_function( __FUNCTION__, '1.5', "Enqueue the comment-reply script in your theme's header.php." ); 583 if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) ) 584 wp_enqueue_script( 'comment-reply' ); 585 } 586 endif; 587 } 588 add_action( 'after_setup_theme', 'bp_dtheme_deprecated', 15 ); 589 590 /** 591 * In BP 1.5, the Settings functions were moved out of the Core and Members 592 * components, and moved into a new Settings component. This function is no 593 * longer needed as the nav structure is set up by the {@link BP_Component} class. 594 * 595 * @deprecated 1.5.0 596 * @since 1.6.0 597 */ 598 function bp_core_add_settings_nav() { 599 _deprecated_function( __FUNCTION__, '1.5' ); 600 } 601 602 /** 603 * In BP 1.5, the Settings functions were moved out of the Core and Members 604 * components, and moved into a new Settings component. This function is no 605 * longer needed as new template files for the Settings component were 606 * introduced. 607 * 608 * @deprecated 1.5.0 609 * @since 1.6.0 610 */ 611 function bp_core_screen_general_settings() { 612 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 613 } 614 615 /** 616 * In BP 1.5, the Settings functions were moved out of the Core and Members 617 * components, and moved into a new Settings component. This function is no 618 * longer needed as new template files for the Settings component were 619 * introduced. 620 * 621 * @deprecated 1.5.0 622 * @since 1.6.0 623 */ 624 function bp_core_screen_general_settings_title() { 625 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 626 } 627 628 /** 629 * In BP 1.5, the Settings functions were moved out of the Core and Members 630 * components, and moved into a new Settings component. This function is no 631 * longer needed as new template files for the Settings component were 632 * introduced. 633 * 634 * @deprecated 1.5.0 635 * @since 1.6.0 636 */ 637 function bp_core_screen_general_settings_content() { 638 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 639 } 640 641 /** 642 * In BP 1.5, the Settings functions were moved out of the Core and Members 643 * components, and moved into a new Settings component. This function is no 644 * longer needed as new template files for the Settings component were 645 * introduced. 646 * 647 * @deprecated 1.5.0 648 * @since 1.6.0 649 */ 650 function bp_core_screen_notification_settings() { 651 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 652 } 653 654 /** 655 * In BP 1.5, the Settings functions were moved out of the Core and Members 656 * components, and moved into a new Settings component. This function is no 657 * longer needed as new template files for the Settings component were 658 * introduced. 659 * 660 * @deprecated 1.5.0 661 * @since 1.6.0 662 */ 663 function bp_core_screen_notification_settings_title() { 664 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 665 } 666 667 /** 668 * In BP 1.5, the Settings functions were moved out of the Core and Members 669 * components, and moved into a new Settings component. This function is no 670 * longer needed as new template files for the Settings component were 671 * introduced. 672 * 673 * @deprecated 1.5.0 674 * @since 1.6.0 675 */ 676 function bp_core_screen_notification_settings_content() { 677 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 678 } 679 680 /** 681 * In BP 1.5, the Settings functions were moved out of the Core and Members 682 * components, and moved into a new Settings component. This function is no 683 * longer needed as new template files for the Settings component were 684 * introduced. 685 * 686 * @deprecated 1.5.0 687 * @since 1.6.0 688 */ 689 function bp_core_screen_delete_account() { 690 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 691 } 692 693 /** 694 * In BP 1.5, the Settings functions were moved out of the Core and Members 695 * components, and moved into a new Settings component. This function is no 696 * longer needed as new template files for the Settings component were 697 * introduced. 698 * 699 * @deprecated 1.5.0 700 * @since 1.6.0 701 */ 702 function bp_core_screen_delete_account_title() { 703 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 704 } 705 706 /** 707 * In BP 1.5, the Settings functions were moved out of the Core and Members 708 * components, and moved into a new Settings component. This function is no 709 * longer needed as new template files for the Settings component were 710 * introduced. 711 * 712 * @deprecated 1.5.0 713 * @since 1.6.0 714 */ 715 function bp_core_screen_delete_account_content() { 716 _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' ); 717 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |