get_post_to_edit

DeprecatedDeprecated

This function has been deprecated. Use get_post() instead.

SummerySummery

Gets an existing post and format it for editing.

Syntax

get_post_to_edit( int $id )

ParametersParameters

$id

(int) (Required)

ReturnReturn

(object)

SourceSource

File: wp-admin/includes/deprecated.php


			

ChangelogChangelog

Changelog
Version Description
3.5.0 Use get_post()
2.0.0 Introduced.

See alsoSee also

Scroll to Top