---
url: /hooks/filters/wpce-edit-link-label.md
description: >-
  Customize the label used by edit links to the WPCE editor in settings and post
  row actions.
---

# `wpce_edit_link_label`&#x20;

Filters the label of the edit link pointing to the WPCE screen in various places.

## Parameters

1. `string $label`

   The label to show.

2. `WP_Post $post`

   The post the label relates to.

3. `string $context`

   The context in which the link is shown. Possible values are:

   * `settings_button`: The big blue button pointing to the WPCE editor from a post's settings page.
   * `row_actions`: The edit link in the post row actions.

## Example

```php
add_filter('wpce_edit_link_label', function (string $label, WP_Post $post) {
	if ($post->post_type === 'magazine') {
		return 'Editorial bearbeiten';
	}

	return $label;
}, 10, 2);
```
