Screenshot New Years Sale Get the "ALL ACCESS PASS" and Save $349. Unlimited Licenses.
Show All Access Pass

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