Atitit cms wordpress get_post  返回的WP_Post 规范 标准化

public $ID;

public $post_author = 0;

* The post's local publication time.

public $post_date = '0000-00-00 00:00:00';

* The post's GMT publication time.

public $post_date_gmt = '0000-00-00 00:00:00';

public $post_content = '';

public $post_title = '';

public $post_excerpt = '';

public $post_status = 'publish';

public $comment_status = 'open';

public $ping_status = 'open';

public $post_password = '';

public $post_name = '';

public $to_ping = '';

public $pinged = '';

public $post_modified = '0000-00-00 00:00:00';

public $post_modified_gmt = '0000-00-00 00:00:00';

public $post_content_filtered = '';

public $post_parent = 0;

public $guid = '';

public $menu_order = 0;

public $post_type = 'post';

public $post_mime_type = '';

public $comment_count = 0;

public $filter;

final class WP_Post {

/**

* Post ID.

*

* @var int

*/

public $ID;

/**

* ID of post author.

*

* A numeric string, for compatibility reasons.

*

* @var string

*/

public $post_author = 0;

/**

* The post's local publication time.

*

* @var string

*/

public $post_date = '0000-00-00 00:00:00';

/**

* The post's GMT publication time.

*

* @var string

*/

public $post_date_gmt = '0000-00-00 00:00:00';

/**

* The post's content.

*

* @var string

*/

public $post_content = '';

/**

* The post's title.

*

* @var string

*/

public $post_title = '';

/**

* The post's excerpt.

*

* @var string

*/

public $post_excerpt = '';

/**

* The post's status.

*

* @var string

*/

public $post_status = 'publish';

/**

* Whether comments are allowed.

*

* @var string

*/

public $comment_status = 'open';

/**

* Whether pings are allowed.

*

* @var string

*/

public $ping_status = 'open';

/**

* The post's password in plain text.

*

* @var string

*/

public $post_password = '';

/**

* The post's slug.

*

* @var string

*/

public $post_name = '';

/**

* URLs queued to be pinged.

*

* @var string

*/

public $to_ping = '';

/**

* URLs that have been pinged.

*

* @var string

*/

public $pinged = '';

/**

* The post's local modified time.

*

* @var string

*/

public $post_modified = '0000-00-00 00:00:00';

/**

* The post's GMT modified time.

*

* @var string

*/

public $post_modified_gmt = '0000-00-00 00:00:00';

/**

* A utility DB field for post content.

*

*

* @var string

*/

public $post_content_filtered = '';

/**

* ID of a post's parent post.

*

* @var int

*/

public $post_parent = 0;

/**

* The unique identifier for a post, not necessarily a URL, used as the feed GUID.

*

* @var string

*/

public $guid = '';

/**

* A field used for ordering posts.

*

* @var int

*/

public $menu_order = 0;

/**

* The post's type, like post or page.

*

* @var string

*/

public $post_type = 'post';

/**

* An attachment's mime type.

*

* @var string

*/

public $post_mime_type = '';

/**

* Cached comment count.

*

* A numeric string, for compatibility reasons.

*

* @var string

*/

public $comment_count = 0;

/**

* Stores the post object's sanitization level.

*

* Does not correspond to a DB field.

*

* @var string

*/

public $filter;

/**

* Retrieve WP_Post instance.

*

* @static

* @access public

*

* @global wpdb $wpdb WordPress database abstraction object.

*

* @param int $post_id Post ID.

* @return WP_Post|false Post object, false otherwise.

作者:: 绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 )

汉字名:艾提拉(艾龙),   EMAIL:1466519819@qq.com

转载请注明来源: http://blog.csdn.net/attilax

Atiend

Atitit cms相关推荐

  1. Atitit q2016 qb doc list on home ntpc.docx

    Atitit q2016 qb doc list on home ntpc.docx 驱动器 D 中的卷是 p2soft 卷的序列号是 9AD0-D3C8 D:\ati ext notbek\q201 ...

  2. Atitit 常用sdk 模块 组织架构切分 规范与范例attilax总结

    Atitit 常用sdk 模块 组织架构切分 规范与范例attilax总结 常用200个模块 2017/04/12  22:01    <DIR>          acc 2017/04 ...

  3. Atitit mis 管理信息系统概论 艾提拉著 目录 1. 互联网三大定律 2 1.1. 摩尔定律和 2 1.2. 吉尔德定律 电脑及网络宽带资源成为重要免费资源 2 1.3. 梅特卡夫定律 用户

    Atitit mis 管理信息系统概论 艾提拉著 目录 1. 互联网三大定律 2 1.1. 摩尔定律和 2 1.2. 吉尔德定律 电脑及网络宽带资源成为重要免费资源 2 1.3. 梅特卡夫定律 用户越 ...

  4. Atitit.播放系统规划新版本 and 最近版本回顾 v3  pbf.doc  1 版本11 (ing)41.1 规划h5本地缓存系列 41.2 Android版本app41.3 双类别系统,...

    Atitit.播放系统规划新版本 and 最近版本回顾 v3  pbf.doc 1 版本11 (ing)4 1.1 规划h5本地缓存系列 4 1.2 Android版本app4 1.3 双类别系统, ...

  5. Atitit 知识图谱的数据来源

    Atitit 知识图谱的数据来源   2. 知识图谱的数据来源1 a) 百科类数据2 b) 结构化数据3 c) 半结构化数据挖掘AVP (垂直站点爬虫)3 d) 通过搜索日志(query record ...

  6. atitit.userService 用户系统设计 v5 q330

    atitit.userService 用户系统设计 v5 q330 1. 新特性1 2. Admin  login1 3. 用户注册登录2 3.1. <!-- 会员注册使用 -->  商家 ...

  7. Atitit.java jna  调用c  c++ dll的原理与实践  总结  v2  q27

    Atitit.java jna  调用c  c++ dll的原理与实践  总结  v2  q27 1. Jna简单介绍1 2. Jna范例halo owrld1 3. Jna概念2 3.1. (1)需 ...

  8. NodeJS+Mongodb+Express做CMS博客系统

    楼主正在用业余时间开发中-- ,目前的版本仅支持会员系统,尝鲜一下吧~ hi-blog 一个 nodejs+express+mongodb 的 cms 系统 怎么启动 默认你已经安装了 mongodb ...

  9. 织梦 html 优酷,让织梦CMS的后台编辑器支持优酷视频

    ***近做了一些视频教程传到优酷网站上,但我想引入这些视频教程到我的网站,在发表时我发现织梦DEDECMS自带的编辑器又不直接支持优酷等视频网站的引用. 所以为了方便教程的发布,特意在网站搜索到本篇教 ...

  10. java cms 垃圾回收_Java 9 或将放弃 CMS(并发标记清除垃圾收集器)

    原标题:Java 9 或将放弃 CMS(并发标记清除垃圾收集器) 近日,JEP 291 再次被 Java 开发团队提上日程.先来看看该 JEP. JEP 291: Deprecate the Conc ...

最新文章

  1. 推荐一个 开源C#股票软件
  2. 在编译内核时出现uudecode错误
  3. 【C++ grammar】重载、内联、变量作用域、带默认参数的函数
  4. 【Pytorch神经网络理论篇】 05 Module类的使用方法+参数Parameters类+定义训练模型的步骤与方法
  5. 控制台应用和空项目有什么区别_互联网小程序的应用以及APP的应用有什么区别及发展...
  6. Swift - 05 - 数值型字面量
  7. redis(redis概念,运用场景,如何操作基本数据类型)
  8. Appium下载遇到的问题
  9. plcst语言编程教程_st语言编程实例讲解
  10. 【Endnote】CNKI E-Study与Endnote 的参考文献题录互导
  11. 医学病理图像:细胞间质与间质细胞的区别
  12. [问题已处理]-centos7 history命令没有任何记录
  13. 计算语言学之语言理解与认知(1)
  14. CPU选择intel还是amd
  15. 3月13日云栖精选夜读 | Serverless 风暴来袭,前端工程师如何应对?...
  16. linux系统的种类
  17. 高中计算机听课总结,信息技术优质课听课心得体会
  18. 【操作系统 - 1】先来先服务FCFS和短作业优先SJF进程调度算法
  19. 公有云与私有云的区别(转)
  20. win10家庭版找不到gpedit.msc的解决办法

热门文章

  1. 算法 判断多个点是否在同一圆周线上_回溯算法|追忆那些年难到我们的八皇后问题
  2. Debugging with GDB 用GDB调试多线程程序
  3. 洛谷P1447 [NOI2010]能量采集(容斥)
  4. 批量修改mac系统文件的可读写权限
  5. 9.2. service
  6. Map集合的4种遍历方式
  7. iOS宏和__attribute__
  8. Docker 数据管理
  9. css(二) block,inline和inline-block概念和区别
  10. Java 处理 XML 的三种主流技术及介绍