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.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 2.3.3 All 194 releases
← All changes | includes/functions.php +72 -0 3.3.9trunk View file →
@@ -327,8 +327,80 @@
327 327
328 328 }
329 329
330 330 /**
331 + * Helper method to get registered abilities.
332 + *
333 + * @since 3.4.0
334 + *
335 + * @return array Abilities.
336 + */
337 +function convertkit_get_abilities() {
338 +
339 + $abilities = array();
340 +
341 + /**
342 + * Registers abilities for the Kit Plugin.
343 + *
344 + * @since 3.4.0
345 + *
346 + * @param array $abilities Abilities.
347 + */
348 + $abilities = apply_filters( 'convertkit_abilities', $abilities );
349 +
350 + return $abilities;
351 +
352 +}
353 +
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 +/**
331 403 * Helper method to return the Plugin Settings Link
332 404 *
333 405 * @since 1.9.6
334 406 *