verify_connection(); // Update options with fresh quota data if API call succeeded if ( ! is_wp_error( $fresh_status ) ) { if ( isset( $fresh_status['search_requests_count'] ) ) { $options['search_requests_count'] = absint( $fresh_status['search_requests_count'] ); } if ( isset( $fresh_status['storage_used_bytes'] ) ) { $options['storage_used_bytes'] = absint( $fresh_status['storage_used_bytes'] ); } if ( isset( $fresh_status['monthly_pages_indexed'] ) ) { $options['monthly_pages_indexed'] = absint( $fresh_status['monthly_pages_indexed'] ); } if ( isset( $fresh_status['total_pages_indexed'] ) ) { $options['total_pages_indexed'] = absint( $fresh_status['total_pages_indexed'] ); } } } ?>