Closed andergmartins closed 8 months ago
Related to publishpress/PublishPress-Capabilities#228.
We have been using the following snippet:
add_filter('cme_plugin_capabilities', [$this, 'filterCMECapabilities'], 20); .... public function filterCMECapabilities($capabilities) { $capabilities = array_merge( $capabilities, [ 'publishpress_future_expire_post', ] ); return $capabilities; }
But it might be better to check the discussion on the capabilities ticket referenced above.
I just double-checked and this was already implemented in the plugin.
Related to publishpress/PublishPress-Capabilities#228.
We have been using the following snippet:
But it might be better to check the discussion on the capabilities ticket referenced above.