Screenshot COVID-19 Update We have changed are structure to better support our employees and customers through these hard times.
See Updates

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