| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Interface for Akismet abilities.
| File Size: | 62 lines (3 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Akismet_Ability_Interface:: (3 methods):
get_config()
execute()
current_user_has_permission()
Interface: Akismet_Ability_Interface - X-Ref
Interface Akismet_Ability_Interface| get_config() X-Ref |
| Get the ability configuration array. Returns the configuration array used to register the ability with wp_register_ability(). return: array { |
| execute( ?array $input = null ) X-Ref |
| Execute callback for the ability. Runs the main functionality of the ability. return: array|WP_Error The result of the execution or a WP_Error on failure. param: array|null $input The input parameters for the ability. Null when no input provided. |
| current_user_has_permission( ?array $input = null ) X-Ref |
| Permission callback for the ability. Checks if the current user has permission to execute the ability. return: bool Whether the current user has permission. param: array|null $input The input parameters for the ability. Null when no input provided. |
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |