PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | config/settings/mcp.php +33 -33 4.3.9.14.4.8 View file →
@@ -1,33 +1,33 @@
1 -<?php
2 -/**
3 - * Setting tab MCP.
4 - */
5 -
6 -return apply_filters(
7 - 'learn_press_mcp_settings',
8 - array(
9 - array(
10 - 'type' => 'title',
11 - 'title' => esc_html__( 'MCP Integration', 'learnpress' ),
12 - 'id' => 'lp_metabox_mcp_general',
13 - ),
14 - array(
15 - 'title' => esc_html__( 'Enable MCP Integration', 'learnpress' ),
16 - 'id' => 'enable_mcp_integration',
17 - 'default' => 'no',
18 - 'type' => 'checkbox',
19 - 'desc' => sprintf(
20 - /* translators: %s: MCP documentation URL. */
21 - __(
22 - 'Enable Model Context Protocol integration for AI-powered LMS operations. Review all AI actions before executing. <a href="%s" target="_blank" rel="noopener noreferrer">Learn more</a>.',
23 - 'learnpress'
24 - ),
25 - esc_url( 'https://learnpresslms.com/docs/learnpress-developer-documentation/model-context-protocol-mcp-integration/' )
26 - ),
27 - ),
28 - array(
29 - 'type' => 'sectionend',
30 - 'id' => 'lp_metabox_mcp_general',
31 - ),
32 - )
33 -);
1 +<?php
2 +/**
3 + * Setting tab MCP.
4 + */
5 +
6 +return apply_filters(
7 + 'learn_press_mcp_settings',
8 + array(
9 + array(
10 + 'type' => 'title',
11 + 'title' => esc_html__( 'MCP Integration', 'learnpress' ),
12 + 'id' => 'lp_metabox_mcp_general',
13 + ),
14 + array(
15 + 'title' => esc_html__( 'Enable MCP Integration', 'learnpress' ),
16 + 'id' => 'enable_mcp_integration',
17 + 'default' => 'no',
18 + 'type' => 'checkbox',
19 + 'desc' => sprintf(
20 + /* translators: %s: MCP documentation URL. */
21 + __(
22 + 'Enable Model Context Protocol integration for AI-powered LMS operations. Review all AI actions before executing. <a href="%s" target="_blank" rel="noopener noreferrer">Learn more</a>.',
23 + 'learnpress'
24 + ),
25 + esc_url( 'https://learnpresslms.com/docs/learnpress-developer-documentation/model-context-protocol-mcp-integration/' )
26 + ),
27 + ),
28 + array(
29 + 'type' => 'sectionend',
30 + 'id' => 'lp_metabox_mcp_general',
31 + ),
32 + )
33 +);