$metoda, 'headers' => $naglowki, 'body' => $cialo, 'timeout' => 5, 'redirection' => 0 ) ); return is_wp_error( $r ) ? array( 0, '', $r->get_error_message() ) : array( (int) wp_remote_retrieve_response_code( $r ), (string) wp_remote_retrieve_body( $r ), '' ); }; CueChat_Rdzen::api( 'POST', '/api/wtyczka/odlacz', $p['token'], array(), 5 ); } foreach ( array( 'cuechat_settings', 'cuechat_polaczenie', 'cuechat_konfig', 'cuechat_grupy', 'cuechat_lokalne', 'cuechat_wersja_danych' ) as $opcja ) { delete_option( $opcja ); } wp_clear_scheduled_hook( 'cuechat_odswiez' ); } if ( is_multisite() && function_exists( 'get_sites' ) ) { foreach ( get_sites( array( 'fields' => 'ids', 'number' => 0 ) ) as $cuechat_site_id ) { switch_to_blog( $cuechat_site_id ); cuechat_usun_dane_witryny(); restore_current_blog(); } } else { cuechat_usun_dane_witryny(); } delete_metadata( 'user', 0, 'cuechat_stany', '', true );