Warning: This method has been deprecated.

Automator_Functions::complete_action( null $user_id = null, null $action_data = null, null $recipe_id = null,  $error_message = '', null $recipe_log_id = null,  $args = array() )

Complete the action for the user


Parameters Parameters

$user_id

(null) (Optional)

Default value: null

$action_data

(null) (Optional)

Default value: null

$recipe_id

(null) (Optional)

Default value: null

$error_message

(Optional)

Default value: ''

$recipe_log_id

(null) (Optional)

Default value: null

$args

(Optional)

Default value: array()


Top ↑

Return Return

(null)


Source Source

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

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

		return $this->complete->action( $user_id, $action_data, $recipe_id, $error_message, $recipe_log_id, $args );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.