PHP Cross Reference of WordPress Subversion HEAD

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]

title

Body

[close]

/wp-includes/ -> post.php (summary)

(no description)

File Size: 1764 lines (51 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 69 functions

  get_attached_file()
  update_attached_file()
  get_children()
  get_extended()
  get_post()
  get_post_field()
  get_post_mime_type()
  get_post_status()
  get_post_type()
  get_posts()
  add_post_meta()
  delete_post_meta()
  get_post_meta()
  update_post_meta()
  delete_post_meta_by_key()
  get_post_custom()
  get_post_custom_keys()
  get_post_custom_values()
  sanitize_post()
  sanitize_post_field()
  wp_delete_post()
  wp_get_post_categories()
  wp_get_post_tags()
  wp_get_recent_posts()
  wp_get_single_post()
  wp_insert_post()
  wp_update_post()
  wp_publish_post()
  wp_add_post_tags()
  wp_set_post_tags()
  wp_set_post_categories()
  wp_transition_post_status()
  add_ping()
  get_enclosed()
  get_pung()
  get_to_ping()
  trackback_url_list()
  get_all_page_ids()
  get_page()
  get_page_by_path()
  get_page_by_title()
  get_page_children()
  get_page_hierarchy()
  get_page_uri()
  get_pages()
  is_local_attachment()
  wp_insert_attachment()
  wp_delete_attachment()
  wp_get_attachment_metadata()
  wp_update_attachment_metadata()
  wp_get_attachment_url()
  wp_get_attachment_thumb_file()
  wp_get_attachment_thumb_url()
  wp_attachment_is_image()
  wp_mime_type_icon()
  wp_check_for_changed_slugs()
  get_private_posts_cap_sql()
  get_lastpostdate()
  get_lastpostmodified()
  update_post_cache()
  clean_post_cache()
  update_page_cache()
  clean_page_cache()
  update_post_caches()
  update_postmeta_cache()
  _transition_post_status()
  _future_post_hook()
  _publish_post_hook()
  _save_post_hook()

Functions
Functions that are not part of a class:

get_attached_file( $attachment_id, $unfiltered = false )   X-Ref
No description

update_attached_file( $attachment_id, $file )   X-Ref
No description

get_children($args = '', $output = OBJECT)   X-Ref
No description

get_extended($post)   X-Ref
No description

get_post(&$post, $output = OBJECT, $filter = 'raw')   X-Ref
No description

get_post_field( $field, $post, $context = 'display' )   X-Ref
No description

get_post_mime_type($ID = '')   X-Ref
No description

get_post_status($ID = '')   X-Ref
No description

get_post_type($post = false)   X-Ref
No description

get_posts($args)   X-Ref
No description

add_post_meta($post_id, $meta_key, $meta_value, $unique = false)   X-Ref
No description

delete_post_meta($post_id, $key, $value = '')   X-Ref
No description

get_post_meta($post_id, $key, $single = false)   X-Ref
No description

update_post_meta($post_id, $meta_key, $meta_value, $prev_value = '')   X-Ref
No description

delete_post_meta_by_key($post_meta_key)   X-Ref
No description

get_post_custom($post_id = 0)   X-Ref
No description

get_post_custom_keys( $post_id = 0 )   X-Ref
No description

get_post_custom_values( $key = '', $post_id = 0 )   X-Ref
No description

sanitize_post($post, $context = 'display')   X-Ref
No description

sanitize_post_field($field, $value, $post_id, $context)   X-Ref
No description

wp_delete_post($postid = 0)   X-Ref
No description

wp_get_post_categories( $post_id = 0, $args = array()   X-Ref
No description

wp_get_post_tags( $post_id = 0, $args = array()   X-Ref
No description

wp_get_recent_posts($num = 10)   X-Ref
No description

wp_get_single_post($postid = 0, $mode = OBJECT)   X-Ref
No description

wp_insert_post($postarr = array()   X-Ref
No description

wp_update_post($postarr = array()   X-Ref
No description

wp_publish_post($post_id)   X-Ref
No description

wp_add_post_tags($post_id = 0, $tags = '')   X-Ref
No description

wp_set_post_tags( $post_id = 0, $tags = '', $append = false )   X-Ref
No description

wp_set_post_categories($post_ID = 0, $post_categories = array()   X-Ref
No description

wp_transition_post_status($new_status, $old_status, $post)   X-Ref
No description

add_ping($post_id, $uri)   X-Ref
No description

get_enclosed($post_id)   X-Ref
No description

get_pung($post_id)   X-Ref
No description

get_to_ping($post_id)   X-Ref
No description

trackback_url_list($tb_list, $post_id)   X-Ref
No description

get_all_page_ids()   X-Ref
No description

get_page(&$page, $output = OBJECT, $filter = 'raw')   X-Ref
No description

get_page_by_path($page_path, $output = OBJECT)   X-Ref
No description

get_page_by_title($page_title, $output = OBJECT)   X-Ref
No description

get_page_children($page_id, $pages)   X-Ref
No description

get_page_hierarchy($posts, $parent = 0)   X-Ref
No description

get_page_uri($page_id)   X-Ref
No description

get_pages($args = '')   X-Ref
No description

is_local_attachment($url)   X-Ref
No description

wp_insert_attachment($object, $file = false, $parent = 0)   X-Ref
No description

wp_delete_attachment($postid)   X-Ref
No description

wp_get_attachment_metadata( $post_id, $unfiltered = false )   X-Ref
No description

wp_update_attachment_metadata( $post_id, $data )   X-Ref
No description

wp_get_attachment_url( $post_id = 0 )   X-Ref
No description

wp_get_attachment_thumb_file( $post_id = 0 )   X-Ref
No description

wp_get_attachment_thumb_url( $post_id = 0 )   X-Ref
No description

wp_attachment_is_image( $post_id = 0 )   X-Ref
No description

wp_mime_type_icon( $mime = 0 )   X-Ref
No description

wp_check_for_changed_slugs($post_id)   X-Ref
No description

get_private_posts_cap_sql($post_type)   X-Ref
This function provides a standardized way to appropriately select on
the post_status of posts/pages. The function will return a piece of
SQL code that can be added to a WHERE clause; this SQL is constructed
to allow all published posts, and all private posts to which the user
has access.

param: string $post_type currently only supports 'post' or 'page'.
return: string SQL code that can be added to a where clause.

get_lastpostdate($timezone = 'server')   X-Ref
No description

get_lastpostmodified($timezone = 'server')   X-Ref
No description

update_post_cache(&$posts)   X-Ref
No description

clean_post_cache($id)   X-Ref
No description

update_page_cache(&$pages)   X-Ref
No description

clean_page_cache($id)   X-Ref
No description

update_post_caches(&$posts)   X-Ref
No description

update_postmeta_cache($post_ids)   X-Ref
No description

_transition_post_status($new_status, $old_status, $post)   X-Ref
No description

_future_post_hook($post_id, $post)   X-Ref
No description

_publish_post_hook($post_id)   X-Ref
No description

_save_post_hook($post_id, $post)   X-Ref
No description



Generated Thu Dec 6 06:47:08 2007 for RedAlt XRefs Cross-referenced by PHPXref 0.6 and RedAlt