wpo_global_cleanup_after_access_token_cleanup | WordPress OAuth Codex

wpo_global_cleanup_after_access_token_cleanup

Documentation under "Actions" for WP OAuth Server


$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 );


Search Documentation

Actions Articles

Below is a list of "Actions" documentation articles.

OAuth Server 3.8.2

WP OAuth Server Pro allows for Unlimited clients and multiple grant types.

BUY NOW