wpce_instance_manager_options v3.20
Filters the options for the WPCE instance manager.
Parameters
object $optionsThe options passed to the instance manager.
?WP_Post $postThe post object the instance manager is defined for. May be
nullif 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);