automator_insert_recipe_run( int $user_id, int $recipe_id, int $completed, int $run_number )


Parameters Parameters

$user_id

(int) (Required)

$recipe_id

(int) (Required)

$completed

(int) (Required)

$run_number

(int) (Required)


Top ↑

Return Return

(int)


Source Source

File: src/core/lib/helper-functions/automator-helper-functions.php

function automator_insert_recipe_run( int $user_id, int $recipe_id, int $completed, int $run_number ) {
	return Automator()->db->recipe->add( $user_id, $recipe_id, $completed, $run_number );
}