Tag Archives: codex

get_author_feed_link

Retrieve the feed link for a given author.Returns a link to the feed for all posts by a given author. A specific feed can be requested or left blank to get the default feed.

1166

Continue reading

get_attachment_template

Retrieve path of attachment template in current or parent template.The attachment path first checks if the first part of the mime type exists. The second check is for the second part of the mime type. The last check is for both types separated by an underscore. If neither are found then the file ‘attachment.php’ is checked and returned.

1164

Continue reading

get_attached_file

Retrieve attached file path based on attachment ID.You can optionally send it through the ‘get_attached_file’ filter, but by default it will just return the file path unfiltered.

1150

Continue reading