Lines:
1 to 22 of 22
<?php /* class Akismet_REST_API */ /* function Akismet_REST_API::init() – Register the REST API routes. */ /* function Akismet_REST_API::get_key() – Get the current Akismet API key. */ /* function Akismet_REST_API::set_key() – Set the API key, if possible. */ /* function Akismet_REST_API::delete_key() – Unset the API key, if possible. */ /* function Akismet_REST_API::get_settings() – Get the Akismet settings. */ /* function Akismet_REST_API::set_boolean_settings() – Update the Akismet settings. */ /* function Akismet_REST_API::parse_boolean() – Parse a numeric or string boolean value into a boolean. */ /* function Akismet_REST_API::get_stats() – Get the Akismet stats for a given time period. */ /* function Akismet_REST_API::get_alert() – Get the current alert code and message. Alert codes are used to notify the site owner if there’s a problem, like a connection issue between their site and the Akismet API, invalid requests being sent, etc. */ /* function Akismet_REST_API::set_alert() – Update the current alert code and message by triggering a call to the Akismet server. */ /* function Akismet_REST_API::delete_alert() – Clear the current alert code and message. */ /* function Akismet_REST_API::key_is_valid() – */ /* function Akismet_REST_API::privileged_permission_callback() – */ /* function Akismet_REST_API::remote_call_permission_callback() – For calls that Akismet.com makes to the site to clear outdated alert codes, use the API key for authorization. */ /* function Akismet_REST_API::sanitize_interval() – */ /* function Akismet_REST_API::sanitize_key() – */