This commit is contained in:
proelements
2026-05-04 11:47:14 +03:00
parent b499583e5a
commit 872bc6fb57
375 changed files with 39949 additions and 9185 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ class Activity_Log extends Action_Base {
public function on_export( $element ) {}
public function aal_init_roles( $roles ) {
$roles['manage_options'][] = 'Elementor Forms';
$roles['manage_options'][] = 'Forms';
return $roles;
}
@@ -34,7 +34,7 @@ class Activity_Log extends Action_Base {
aal_insert_log(
[
'action' => 'New Record',
'object_type' => 'Elementor Forms',
'object_type' => 'Forms',
'object_id' => $record->get_form_settings( 'id' ),
'object_name' => $record->get_form_settings( 'form_name' ),
]