mirror of
https://github.com/proelements/proelements.git
synced 2026-05-14 21:15:02 +00:00
v4.0.4
This commit is contained in:
@@ -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' ),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user