get_post_to_edit()
最后更新于:2021-11-26 22:42:37
get_post_to_edit( int$id)Gets an existing post and format it for editing.
参数
- $id
-
(int) (Required)
响应
(GC_Post)
源文件
文件: gc-admin/includes/deprecated.php
function get_post_to_edit( $id ) {
_deprecated_function( __FUNCTION__, '3.5.0', 'get_post()' );
return get_post( $id, OBJECT, 'edit' );
}