Archive | /wp-includes/post.php RSS feed for this section

get_extended

Get extended entry info ().There should not be any space after the second dash and before the word ‘more’. There can be text or space(s) after the word ‘more’, but won’t be referenced.

1386

Continue reading

get_children

Retrieve all children of the post parent ID.Normally, without any enhancements, the children would apply to pages. In the context of the inner workings of WordPress, pages, posts, and attachments share the same table, so therefore the functionality could apply to any one of them. It is then noted that while this function does not work on posts, it does not mean that it won’t work on posts. It is recommended that you know what context you wish to retrieve the children of.

1268

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