Automator_DB_Handler_Recipes::mark_incomplete( int $recipe_id, int $recipe_log_id )


Parameters Parameters

$recipe_id

(int) (Required)

$recipe_log_id

(int) (Required)


Source Source

File: src/core/lib/utilities/db/class-automator-db-handler-recipes.php

	public function mark_incomplete( int $recipe_id, int $recipe_log_id ) {
		$this->update(
			array(
				'completed' => 0,
			),
			array(
				'ID'                  => $recipe_log_id,
				'automator_recipe_id' => $recipe_id,
			),
			array(
				'%d',
			),
			array(
				'%d',
				'%d',
			)
		);
	}