Screenshot WOW SAVE 30% on the All Access Bundle. Use "OAUTH2022" at checkout. Expires Feb 14, 2022.
GET DEAL
3rd Party Integration

wpo_global_cleanup_after_auth_code_cleanup

Published: April 3, 2019 | Updated: April 3rd, 2019
  1. Home
  2. Docs
  3. Actions
  4. wpo_global_cleanup_after_auth_code_cleanup

$expired_auth_codes = $wpdb->query( "DELETE FROM {$wpdb->prefix}oauth_authorization_codes WHERE expires <= '$current_time' " );
do_action( 'wpo_global_cleanup_after_auth_code_cleanup', $expired_auth_codes );
Icon