metaslider_capability

Description

Use this filter to modify the user capability required to use MetaSlider. The default capability is ‘edit_others_posts’.

Parameters

$capability

(string) (required) User role capability

Examples

Change the capability required to use MetaSlider

You can change the required capability to any default capability included in WordPress.

In the example below we’ve used the User Role Editor plugin to create a custom capability (called ‘metaslider_use’).

Posted in: Developer API