---
url: /hooks/actions/wpce-edit-screen.md
description: >-
  Action fired immediately before rendering the WPCE editor for a post in the
  WordPress admin.
---

# `wpce_edit_screen`&#x20;

Fires just before outputting the WPCE editor for a post in the admin area.

## Parameters

1. `WP_Post $post`

   The post being edited.

## Example

```php
add_action('wpce_edit_screen', function (WP_Post $post) {
	// ...
});
```

## Related

* [`wpce_editor_setup`](./wpce-editor-setup)
