gform_web_api_capability_get_results

gform_web_api_capability_get_results

DescriptionUsageParametersExampleSource Code

Description
Filters the capability required to get form results via the web API.
Usage
1add_filter( 'gform_web_api_capability_get_results', function ( $capability ) { return 'my_custom_capability'; } );

Parameters

$capability string
The capability required. Defaults to 『gravityforms_view_entries』.

Example
1add_filter( 'gform_web_api_capability_get_results', function ( $capability ) { return 'my_custom_capability'; } );
Source Code
This action hook is located in webapi.php

發表回覆

您的電子郵箱地址不會被公開。 必填項已用 * 標註