get_index_rel_link

Get site index relational link.

Description

(string) get_index_rel_link(); 

Returns (string)


Usage

  1. if ( !function_exists( 'get_index_rel_link' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_index_rel_link(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/deprecated.php  
  1. function get_index_rel_link() { 
  2. _deprecated_function( __FUNCTION__, '3.3.0' ); 
  3.  
  4. $link = "<link rel='index' title='" . esc_attr( get_bloginfo( 'name', 'display' ) ) . "' href='" . esc_url( user_trailingslashit( get_bloginfo( 'url', 'display' ) ) ) . "' />\n"; 
  5. return apply_filters( "index_rel_link", $link );