Filter: wpbuddy/rich_snippets/rest/permission/deactivate_license

apply_filters( 'wpbuddy/rich_snippets/rest/permission/deactivate_license', $capability, $request ) → {string}

REST deactivate license permission filter. Allows to modify the capability for the REST access on deactivating the license.
Parameters:
Name Type Description
$capability string The capability for the REST access. Default: manage_options.
$request WP_Rest_Request
Since:
  • 2.0.0
Source:
Returns:
The capability for the REST persmission.
Type
string

apply_filters( 'wpbuddy/rich_snippets/rest/permission/deactivate_license', $capability, $request ) → {string}

REST deactivate license permission filter. Allows to modify the capability for the REST access on deactivating the license.
Parameters:
Name Type Description
$capability string The capability for the REST access. Default: manage_options.
$request WP_Rest_Request
Since:
  • 2.0.0
Source:
Returns:
The capability for the REST persmission.
Type
string