Warning: This method has been deprecated.

Automator_Functions::complete_recipe( $recipe_id = null,  $user_id = null,  $recipe_log_id = null,  $args = array() )

Complete a recipe


Parameters Parameters

$recipe_id

(Optional) null||int

Default value: null

$user_id

(Optional) null||int

Default value: null

$recipe_log_id

(Optional) null||int

Default value: null

$args

(Optional)

Default value: array()


Top ↑

Return Return

(null|bool)


Source Source

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

	public function complete_recipe( $recipe_id = null, $user_id = null, $recipe_log_id = null, $args = array() ) {
		if ( defined( 'AUTOMATOR_DEBUG_MODE' ) && true === AUTOMATOR_DEBUG_MODE ) {
			_doing_it_wrong( 'complete_recipe', 'Please use Automator()->complete->recipe() instead.', 3.0 );
		}

		return $this->complete->recipe( $recipe_id, $user_id, $recipe_log_id, $args );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.