[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/plugins/akismet/abilities/ -> class-akismet-ability-get-stats.php (summary)

Get Stats ability for Akismet.

File Size: 202 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Akismet_Ability_Get_Stats:: (7 methods):
  get_ability_name()
  get_label()
  get_description()
  get_input_schema()
  get_output_schema()
  get_config()
  execute()


Class: Akismet_Ability_Get_Stats  - X-Ref

Class Akismet_Ability_Get_Stats

Registers and handles the ability to retrieve Akismet statistics.
get_ability_name()   X-Ref
Get the ability name.

return: string The ability name.

get_label()   X-Ref
Get the human-readable label.

return: string The label.

get_description()   X-Ref
Get the ability description.

return: string The description.

get_input_schema()   X-Ref
Get the input schema.

return: array The input schema.

get_output_schema()   X-Ref
Get the output schema.

return: array The output schema.

get_config()   X-Ref
Get the ability configuration.

return: array The ability configuration.

execute( ?array $input = null )   X-Ref
Execute callback for the get-stats ability.

return: array|WP_Error The stats data or error.
param: array|null $input The input parameters with optional interval.



Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref