UpdateAnswer::run_action()

Description #

Run action.

Changelog #

VersionDescription
4.1.8Introduced.

Source #

File: includes/class-async-tasks.php

	protected function run_action() {
		$post_id = $_POST['post_id'];
		$post    = get_post( $post_id );

		if ( $post ) {
			do_action( "wp_async_$this->action", $post->ID, $post );
		}
	}

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Add your comment