permalink_anchor


permalink_anchor ( $mode = 'id' )

Parameters:
  • (string) mode Optional. Permalink mode. Accepts 'title' or 'id'. Default 'id'.
Defined at:

Description

Displays the permalink anchor for the current post.The permalink mode title will use the post title for the 'a' element 'id' attribute. The id mode uses 'post-' with the post ID for the 'id' attribute.

Related Functions

permalink_link, permalink_single_rss, the_permalink_rss, get_permalink, the_permalink

Top Google Results

User discussions

wpseek mobile