Quantcast
Channel: REST API v1 Archives - Gravity Forms Documentation
Viewing all articles
Browse latest Browse all 16

gform_web_api_capability_delete_entries

$
0
0

Description

Filters the capability required to delete entries via the web API.

Usage

add_filter( 'gform_web_api_capability_delete_entries', function ( $capability ) { return 'my_custom_capability'; } );

Parameters

  • $capability string
    The capability required. Defaults to ‘gravityforms_delete_entries’.

Example

add_filter( 'gform_web_api_capability_delete_entries', function ( $capability ) { return 'my_custom_capability'; } );

Source Code

This action hook is located in webapi.php

The post gform_web_api_capability_delete_entries appeared first on Gravity Forms Documentation.


Viewing all articles
Browse latest Browse all 16

Trending Articles