[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Deprecated functions.
   4   *
   5   * @deprecated 2.3.0
   6   */
   7  
   8  // Exit if accessed directly.
   9  defined( 'ABSPATH' ) || exit;
  10  
  11  /**
  12   * Return the referrer URL without the http(s)://
  13   *
  14   * @deprecated 2.3.0
  15   *
  16   * @return string The referrer URL.
  17   */
  18  function bp_core_referrer() {
  19      _deprecated_function( __FUNCTION__, '2.3.0', 'bp_get_referer_path()' );
  20      $referer = explode( '/', wp_get_referer() );
  21      unset( $referer[0], $referer[1], $referer[2] );
  22      return implode( '/', $referer );
  23  }
  24  


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