WP_Async_Task::get_nonce_action()
Description #
Get a nonce action based on the $action property of the class
Source #
File: lib/class-wp-async-task.php
protected function get_nonce_action() { $action = $this->action; if ( substr( $action, 0, 7 ) === 'nopriv_' ) { $action = substr( $action, 7 ); } $action = "wp_async_$action"; return $action; }
Expand full source code Collapse full source code View on GitHub: lib/class-wp-async-task.php:235
Add your comment