403Webshell
Server IP : 162.214.67.83  /  Your IP : 216.73.217.9
Web Server : Apache
System : Linux dedi-13542965.clustter.com.br 5.14.0-687.20.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 30 06:22:49 EDT 2026 x86_64
User : pjacortinas ( 1096)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/pjacortinas/www/wp-content/plugins/wp-mail-smtp/src/Abilities/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/pjacortinas/www/wp-content/plugins/wp-mail-smtp/src/Abilities/AbilityInterface.php
<?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();
}

Youez - 2016 - github.com/yon3zu
LinuXploit