Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Zoom_Helpers::disconnect()
Disconnect the user from the Zoom API.
Return Return
(Uncanny_Automatorvoid.)
Source Source
File: src/integrations/zoom/helpers/zoom-helpers.php
public function disconnect() { if ( wp_verify_nonce( filter_input( INPUT_GET, 'nonce', FILTER_DEFAULT ), 'uap_automator_zoom_api_disconnect' ) ) { delete_option( 'uap_automator_zoom_api_consumer_key' ); delete_option( 'uap_automator_zoom_api_consumer_secret' ); delete_option( '_uncannyowl_zoom_settings_version' ); delete_option( '_uncannyowl_zoom_settings' ); delete_transient( '_uncannyowl_zoom_settings' ); delete_transient( 'uap_automator_zoom_api_user_info' ); } $return_uri = add_query_arg( array( 'post_type' => 'uo-recipe', 'page' => 'uncanny-automator-settings', 'tab' => 'zoom_api', ), admin_url( 'edit.php' ) ); wp_safe_redirect( $return_uri ); exit; }
Expand full source code Collapse full source code View on Github