You appear to be a bot. Output may be restricted
Description
Usage
Akismet_Admin::verify_wpcom_key( $api_key, $user_id, $extra );
Parameters
- $api_key
- ( mixed ) required –
- $user_id
- ( mixed ) required –
- $extra
- ( mixed ) optional –
Returns
void
Source
File name: akismet/class.akismet-admin.php
Lines:
1 to 14 of 14
public static function verify_wpcom_key( $api_key, $user_id, $extra = array() ) { $akismet_account = Akismet::http_post( Akismet::build_query( array_merge( array( 'user_id' => $user_id, 'api_key' => $api_key, 'get_account_type' => 'true' ), $extra ) ), 'verify-wpcom-key' ); if ( ! empty( $akismet_account[1] ) ) $akismet_account = json_decode( $akismet_account[1] ); Akismet::log( compact( 'akismet_account' ) ); return $akismet_account; }