wp模型缺少WordPress模型对象的功能。应用程序接口邮政WordPress的原生post对象的扩展包装器。新帖子($post)、Post::create($post) $post整数| WP_Post帖子ID或WP_Post对象。$post = new WPModel Post ( $post_id ); // 同样的属性WP_Post是可访问的。echo $post->post_date; echo $post->post_title; echo $post->post_mime_type; ->永久链接,->永久链接()获取帖子的固定链接。返回:字符串 $post = new WPModel Post ( $post_id );