WPINC_post template.php Notes - WordPress-Thinstall/wordpress-develop GitHub Wiki
interface PostTemplateInterface {
function the_ID();
function get_the_ID();
function the_title( $before = '', $after = '', $echo = true );
function the_title_attribute( $args = '' );
function get_the_title( $post = 0 );
function the_guid( $post = 0 );
function get_the_guid( $post = 0 );
function the_content( $more_link_text = null, $strip_teaser = false);
function get_the_content( $more_link_text = null, $strip_teaser = false );
function _convert_urlencoded_to_entities( $match );
function the_excerpt();
function get_the_excerpt( $post = null );
function has_excerpt( $id = 0 );
function post_class( $class = '', $post_id = null );
function get_post_class( $class = '', $post_id = null );
function body_class( $class = '' );
function get_body_class( $class = '' );
function post_password_required( $post = null );
// Use in themes
function wp_link_pages( $args = '' );
function _wp_link_page( $i );
// Custom per-post fields
function post_custom( $key = '' );
function the_meta();
// Pages
function wp_dropdown_pages( $args = '' );
function wp_list_pages( $args = '' );
// Page Helpers
function walk_page_tree( $pages, $depth, $current_page, $r );
function walk_page_dropdown_tree();
// Attachments
function the_attachment_link( $id = 0, $fullsize = false, $deprecated = false, $permalink = false );
function wp_get_attachment_link( $id = 0, $size = 'thumbnail', $permalink = false, $icon = false, $text = false, $attr = '' );
function prepend_attachment($content);
// Misc
function get_the_password_form( $post = 0 );
function is_page_template( $template = '' );
function get_page_template_slug( $post = null );
function wp_post_revision_title( $revision, $link = true );
function wp_post_revision_title_expanded( $revision, $link = true );
function wp_list_post_revisions( $post_id = 0, $type = 'all' );
}