PluginProbe
AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI / 6.0.3
AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI v6.0.3
6.0.3 6.0.2 6.0.1 6.0.0 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.7.9.2 5.7.9.1 5.7.8 5.7.9 5.7.6 5.7.7 5.7.5 5.7.4 5.7.3 5.7.2 5.7.1 trunk 5.6.0 5.6.1 All 34 releases
automatorwp / modules / ai-assistant / includes / admin.php

admin.php in AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI 6.0.3, at modules/ai-assistant/includes/admin.php

33 lines 817 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin
4 *
5 * @package AutomatorWP\AI_Assistant\Admin
6 * @since 1.0.0
7 * @version 1.0.0
8 */
9 // Exit if accessed directly
10 if ( ! defined( 'ABSPATH' ) ) exit;
11
12 /**
13 * AI Assistant settings
14 *
15 * @since 1.0.0
16 *
17 * @param array $settings
18 *
19 * @return array
20 */
21 function automatorwp_ai_assistant_settings_fields( $settings ) {
22
23 $settings['disable_ai_assistant'] = array(
24 'name' => __( 'Disable AI Assistant', 'automatorwp' ),
25 'tooltip' => __( 'Disable the AutomatorWP AI Assistant.', 'automatorwp' ),
26 'label_cb' => 'cmb_tooltip_label_cb',
27 'type' => 'checkbox',
28 'classes' => 'cmb2-switch',
29 );
30
31 return $settings;
32 }
33 add_filter( 'automatorwp_general_settings_fields', 'automatorwp_ai_assistant_settings_fields' );