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' ),
]
+1 -1
View File
@@ -169,7 +169,7 @@ class Discord extends Action_Base {
'title' => isset( $settings['discord_title'] ) ? $settings['discord_title'] : esc_html__( 'A new Submission', 'elementor-pro' ),
'description' => isset( $settings['discord_content'] ) ? $settings['discord_content'] : esc_html__( 'A new Form Submission has been received', 'elementor-pro' ),
'author' => [
'name' => isset( $settings['discord_username'] ) ? $settings['discord_username'] : esc_html__( 'Elementor Forms', 'elementor-pro' ),
'name' => isset( $settings['discord_username'] ) ? $settings['discord_username'] : esc_html__( 'Forms', 'elementor-pro' ),
'url' => $page_url,
'icon_url' => isset( $settings['discord_avatar_url'] ) ? $settings['discord_avatar_url'] : null,
],