ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
wp-includes
2026-09-16 17:05:10
Editing: AbilityInterface.php
Cancel
Save Changes
<?php namespace WPMailSMTP\Abilities; use WP_Error; // phpcs:ignore WPForms.PHP.UseStatement.UnusedUseStatement /** * Contract every WP Mail SMTP ability implements. * * Concrete abilities are instantiated by {@see AbilityRegistrar} and registered * against the WordPress Abilities API on the `wp_abilities_api_init` hook. * * @since 4.9.0 */ interface AbilityInterface { /** * Get the ability slug, without the namespace prefix. * * @since 4.9.0 * * @return string */ public function get_name(); /** * Get the human-readable label. * * @since 4.9.0 * * @return string */ public function get_label(); /** * Get the human-readable description. * * @since 4.9.0 * * @return string */ public function get_description(); /** * Get the JSON Schema describing accepted input. * * @since 4.9.0 * * @return array */ public function get_input_schema(); /** * Get the JSON Schema describing the response. * * @since 4.9.0 * * @return array */ public function get_output_schema(); /** * Execute the ability with validated input. * * @since 4.9.0 * * @param mixed $input Input data validated against the input schema. * * @return array|WP_Error */ public function execute( $input ); /** * Permission gate. * * @since 4.9.0 * * @return true|WP_Error True when allowed, WP_Error otherwise. */ public function check_permission(); /** * Annotation flags surfaced to MCP / abilities consumers. * * @since 4.9.0 * * @return array */ public function get_annotations(); /** * Whether the ability is exposed via the REST API. * * @since 4.9.0 * * @return bool */ public function show_in_rest(); /** * Whether the ability is publicly listed for MCP clients. * * @since 4.9.0 * * @return bool */ public function is_mcp_public(); }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete