You appear to be a bot. Output may be restricted
Description
Get the Akismet settings.
Usage
$WP_Error|WP_REST_Response = Akismet_REST_API::get_settings( $request );
Parameters
- $request
- ( WP_REST_Request ) optional –
Returns
WP_Error|WP_REST_Response
Source
File name: akismet/class.akismet-rest-api.php
Lines:
1 to 6 of 6
public static function get_settings( $request = null ) { return rest_ensure_response( array( 'akismet_strictness' => ( get_option( 'akismet_strictness', '1' ) === '1' ), 'akismet_show_user_comments_approved' => ( get_option( 'akismet_show_user_comments_approved', '1' ) === '1' ), ) ); }