add_filter( 'wp_nav_menu_objects', function( $items ) { foreach ( $items as $item ) { // Si el enlace tiene la palabra clave {perfil_usuario}, la reemplazamos por la URL real if ( strpos( $item->url, '{perfil_usuario}' ) !== false ) { if ( is_user_logged_in() && function_exists('bp_core_get_user_domain') ) { $item->url = bp_core_get_user_domain( get_current_user_id() ); } else { $item->url = wp_login_url(); } } // Si el enlace tiene la palabra clave {perfil_jugador}, lo reemplazamos por el jugador vinculado if ( strpos( $item->url, '{perfil_jugador}' ) !== false ) { if ( is_user_logged_in() ) { $player_id = get_user_meta( get_current_user_id(), 're_sp_player_id', true ); if ( $player_id ) { $item->url = get_permalink( $player_id ); } else { $item->url = home_url('/'); } } else { $item->url = wp_login_url(); } } } return $items; }); cap – Retoesports

cap

nacionalidad
s/n
Edad
0 Years
0.0
Avg. Assists
in all time
0.0
Avg. Damage
in all time
0.0
Avg. Kills
in all time
0.0
Avg. Deaths
in all time
0.0
KDA Ratio
in all time
0.0
Kills P.
in all time
0.0
Win Rate
in all time

Recent Games Stats

FechaVersusResultados

Main Stats

Total Career Stats

Player Related News

Player History Stats

Additional Stats

  • 0
    Win Rate
    in all time
  • 0
    Kills Participation
    in all time

Player Stats

Player Newslog

  • Pro Gamer The Destroy (James Spiegel) has joined the League of Heroes Alchemists team!
    January 7, 2020
  • The Destroy (James Spiegel) has left the Xenowatch Clovers team!
    October 22, 2018
  • The Destroy has won the League of Heroes World Tournament!
    April 13, 2018