[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/deprecated/ -> 9.0.php (source)

   1  <?php
   2  /**
   3   * Deprecated functions.
   4   *
   5   * @package BuddyPress
   6   * @deprecated 9.0.0
   7   */
   8  
   9  // Exit if accessed directly.
  10  defined( 'ABSPATH' ) || exit;
  11  
  12  /**
  13   * Get user URL.
  14   *
  15   * @since 5.0.0
  16   * @deprecated 9.0.0
  17   *
  18   * @param  int $user_id User ID.
  19   * @return string
  20   */
  21  function bp_rest_get_user_url( $user_id ) {
  22      _deprecated_function( __FUNCTION__, '9.0.0', 'bp_rest_get_object_url( $user_id, \'members\' )' );
  23      return bp_rest_get_object_url( $user_id, 'members' );
  24  }


Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1