WP_Async_Task::create_async_nonce()
Description #
Create a random, one time use token.
Based entirely on wp_create_nonce() but does not tie the nonce to the current logged-in user.
Source #
File: lib/class-wp-async-task.php
protected function create_async_nonce() { $action = $this->get_nonce_action(); $i = wp_nonce_tick(); return substr( wp_hash( $i . $action . get_class( $this ), 'nonce' ), - 12, 10 ); }
Expand full source code Collapse full source code View on GitHub: lib/class-wp-async-task.php:195
Add your comment