NewQuestion::prepare_data( array $data )
Description #
Prepare data for the asynchronous request
Parameters #
- $dataarray (Required) Arguments.
Source #
File: includes/class-async-tasks.php
protected function prepare_data( $data ) { $post_id = $data[0]; return array( 'post_id' => $post_id ); }
Expand full source code Collapse full source code View on GitHub: includes/class-async-tasks.php:37
Add your comment