Screenshot WOW SAVE 20% on the All Access Bundle. Use "OAUTH20OFF" at checkout.
GET DEAL
3rd Party Integration

wpo_global_cleanup_after_access_token_cleanup

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

$expired_access_tokens = $wpdb->query( "DELETE FROM {$wpdb->prefix}oauth_access_tokens WHERE expires <= '$current_time' " );
do_action( 'wpo_global_cleanup_after_access_token_cleanup', $expired_access_tokens );
Icon