gppa_object_type_restricted_database
Description
Filter if the Database Object Type should be restricted.
When a field is using a restricted object type, only super admins can edit the GP Populate Anything settings for the field in the Gravity Forms Form Editor. The reasoning for this is to prevent non-admins from browsing the database and extracting sensitive information.
Usage
add_filter( 'gppa_object_type_restricted_database', '__return_false' );
Parameters
$restricted boolean
true
to restrict,false
to not restrict.Default:
true
Since
This filter is available since GP Populate Anything 1.0-beta-3.37.