d. * * @return array The prepared data */ abstract protected function prepare_data( $data ); /** * Run the do_action function for the asynchronous postback. * * This method needs to fetch and sanitize any and all data from the $_POST * superglobal and provide them to the do_action call. * * The action should be constructed as "wp_async_task_$this->action" */ abstract protected function run_action(); }