---
url: /hooks/filters/wpce-instance-manager-options.md
description: >-
  Modify instance-manager configuration, including the user's developer status
  and other WPCE options.
---

# `wpce_instance_manager_options`&#x20;

Filters the options for the WPCE [instance manager](../../documentation/concepts/glossary#instance-manager).

## Parameters

1. `object $options`

   The options passed to the instance manager.

2. `?WP_Post $post`

   The post object the instance manager is defined for. May be `null` if the instance manager is not defined for a specific post.

## Example

```php
add_filter('wpce_instance_manager_options', function (object $options, ?WP_Post $post) {
  // Make all administrators WPCE devs
  $options->user->isDev = current_user_can('manage_options');
  
  return $options;
}, 10, 2);
```
