Description
Allows the “entry_detail_edit” page to be marked as a regular page, not an admin or edit page, or a regular page to be marked as an Entry Detail Edit page. This filter is useful if you are creating custom entry edit pages.
Usage
add_filter( 'gform_is_entry_detail_edit', 'your_function_name', 10, 1 );
Parameters
- $is_entry_detail_edit bool
Whether the current page is the Entry Detail Edit (entry_detail_edit) page.
Example
add_filter( 'gform_is_entry_detail_edit', 'set_entry_edit', 10, 1 ); function set_entry_edit( $is_entry_detail_edit ){ return false; }
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms version 1.9.9.
Source Code
This filter is located in GFCommon::is_entry_detail_edit() in common.php.