# wp-parsely/3.8.4/src/blocks/shared/utils/post.ts

Parse.ly, version 3.8.4. 11 lines.

- Page: https://pluginprobe.com/plugins/wp-parsely/3.8.4/code/src/blocks/shared/utils/post.ts
- Raw: https://pluginprobe.com/plugins/wp-parsely/3.8.4/raw/src/blocks/shared/utils/post.ts
- Modified: 2023-02-27T12:36:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-parsely/3.8.4/code/src/blocks/shared/utils/post.ts#L10-L20`.

```typescript
/**
 * Gets edit url of the post.
 *
 * @param {number} postId ID of the post.
 *
 * @return {string} Edit url of the post.
 */
export function getPostEditUrl( postId: number ): string {
	return `/wp-admin/post.php?post=${ postId }&action=edit`;
}

```
