UpdateQuestion::prepare_data( array $data )

Description #

Prepare data for the asynchronous request

Parameters #

  • $data
    array (Required) Arguments.

Changelog #

VersionDescription
4.1.8Introduced.

Source #

File: includes/class-async-tasks.php

	protected function prepare_data( $data ) {
		$post_id = $data[0];
		return array( 'post_id' => $post_id );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment