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_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