Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

hr:XML-RPC WordPress API

XML-RPC API koji zamjenjuje prethodne Blogger, MovableType, i metaWeblog API-je.

Komponente

  • Postovi (za postove, stranice i prilagodljive post tipove) - Dodano u WordPress 3.4
    • wp.getPost
    • wp.getPosts
    • wp.newPost
    • wp.editPost
    • wp.deletePost
    • wp.getPostType
    • wp.getPostTypes
    • wp.getPostFormats
    • wp.getPostStatusList
  • Taksonomije (za kategorije, oznake i prilagođene taksonomije) - Dodano u WordPress 3.4
    • wp.getTaxonomy
    • wp.getTaxonomies
    • wp.getTerm
    • wp.getTerms
    • wp.newTerm
    • wp.editTerm
    • wp.deleteTerm
  • Media - Dodano u WordPress 3.1
    • wp.getMediaItem
    • wp.getMediaLibrary
    • wp.uploadFile
  • Komentari - Dodano u WordPress 2.7
    • wp.getCommentCount
    • wp.getComment
    • wp.getComments
    • wp.newComment
    • wp.editComment
    • wp.deleteComment
    • wp.getCommentStatusList
  • Opcije - Dodano u WordPress 2.6
    • wp.getOptions
    • wp.setOptions
  • Korisnici
    • wp.getUsersBlogs
    • wp.getUser (3.5)
    • wp.getUsers (3.5)
    • wp.getProfile (3.5)
    • wp.editProfile (3.5)
    • wp.getAuthors

Zastarjele Komponente

  • Kategorije - umjesto upotrijebite Taksonomije sa taxonomy='category'
    • wp.getCategories
    • wp.suggestCategories
    • wp.newCategory
    • wp.deleteCategory
  • Oznake - umjesto upotrijebite Taksonomije sa taxonomy='post_tag'
    • wp.getTags
  • Stranice - umjesto upotrijebite Post sa post_type='page'
    • wp.getPage
    • wp.getPages
    • wp.getPageList
    • wp.newPage
    • wp.editPage
    • wp.deletePage
    • wp.getPageStatusList
    • wp.getPageTemplates