PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / trunk
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages vtrunk
3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 All 195 releases
← All changes | includes/functions.php +48 -0 3.4.0trunk View file →
@@ -351,8 +351,56 @@
351 351
352 352 }
353 353
354 354 /**
355 + * Helper method to get registered MCP resources.
356 + *
357 + * @since 3.4.2
358 + *
359 + * @return array Resources.
360 + */
361 +function convertkit_get_resources() {
362 +
363 + $resources = array();
364 +
365 + /**
366 + * Registers MCP resources for the Kit Plugin.
367 + *
368 + * @since 3.4.2
369 + *
370 + * @param array $resources Resources.
371 + */
372 + $resources = apply_filters( 'convertkit_resources', $resources );
373 +
374 + return $resources;
375 +
376 +}
377 +
378 +/**
379 + * Helper method to get registered MCP prompts.
380 + *
381 + * @since 3.4.2
382 + *
383 + * @return array Prompts.
384 + */
385 +function convertkit_get_prompts() {
386 +
387 + $prompts = array();
388 +
389 + /**
390 + * Registers MCP prompts for the Kit Plugin.
391 + *
392 + * @since 3.4.2
393 + *
394 + * @param array $prompts Prompts.
395 + */
396 + $prompts = apply_filters( 'convertkit_prompts', $prompts );
397 +
398 + return $prompts;
399 +
400 +}
401 +
402 +/**
355 403 * Helper method to return the Plugin Settings Link
356 404 *
357 405 * @since 1.9.6
358 406 *