zoukankan      html  css  js  c++  java
  • wp.newPage

    ==================== wp.newPage Create a new page. Added in WordPress 2.2. Parameters int blog_id string username string password string title string description: Page content. datetime dateCreated datetime date_created_gmt: If specified, takes precedence over dateCreated. array categories: Names of categories assigned to the page. array mt_keywords: Names of tags assigned to the page. string mt_excerpt string mt_text_more: Post "Read more" text. string mt_allow_comments: "open" or "closed" string mt_allow_pings: "open" or "closed" string wp_slug string wp_password string wp_author_id string wp_author_display_name string page_status array custom_fields (Added in WordPress 2.3.2) struct string id: Optional. string key string value struct enclosure: Only set if page has an enclosure. (Added in WordPress 2.6.3) string url int length string type bool publish: Whether to publish the page upon creation or leave it as a draft. Return Values int page_id Errors 401 If the user does not have the edit_pages cap.
  • 相关阅读:
    老杳:2017年中国集成电路产业十大新闻
    RMA退货流程解决方案
    Linux
    vue.js
    NET Core度身定制的AOP框架
    Timeline
    HTTP
    MVC 常用扩展点:过滤器、模型绑定等
    装箱拆箱
    jQuery Tree
  • 原文地址:https://www.cnblogs.com/fengidri/p/2757501.html
Copyright © 2011-2022 走看看