Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This hook can customize when an entry can be deleted. This hook is triggered right after frm_user_can_edit.
Usage
add_filter( 'frm_allow_delete', 'function_name_here', 10, 2 );
Parameters
- $allowed (boolean)
- $entry (object)
Examples
There are currently no examples for this hook.