Developer Hooks and Filters
Adjust Client Edit Mode permissions in code with the dreamfox_client_edit_permissions, dreamfox_client_edit_can_modify and related hooks.
Adjust Client Edit Mode permissions in code with the dreamfox_client_edit_permissions, dreamfox_client_edit_can_modify and related hooks.
Adjust Client Edit Mode permissions in code with the dreamfox_client_edit_permissions, dreamfox_client_edit_can_modify and related hooks.
Dreamfox Client Edit Mode exposes filters and an action so developers can adjust permissions and react to blocked saves.
dreamfox_client_edit_permissionsFilter the permission set used for a protected page. Use it to change the text, image and link permissions programmatically.
dreamfox_client_edit_can_modifyFilter a single per-element or per-attribute permission decision. Structural changes (adding, removing, moving or restyling elements) never reach this filter — they are always denied.
dreamfox_client_edit_allowed_attributesClassify the attributes of custom blocks or widgets into the categories text, image, link, layout, style and advanced. This tells Client Edit Mode which attributes count as which permission.
dfce_protected_post_typesThe post types guarded by the block editor save guard. The default is page and post.
dfce_save_blockedFires whenever an enforcement path blocks a save. Use it for custom logging or notifications.
add_action( 'dfce_save_blocked', function () {
// Send a notification, write to your own log, and so on.
} );
can_modify filter.