Actions::do_action( $user_id,  $action_data,  $recipe_id,  $args )


Parameters Parameters

$user_id

(Required)

$action_data

(Required)

$recipe_id

(Required)

$args

(Required)


Source Source

File: src/core/lib/recipe-parts/trait-actions.php

	public function do_action( int $user_id, array $action_data, int $recipe_id, array $args ) {

		$maybe_parsed                = $this->maybe_parse_tokens( $user_id, $action_data, $recipe_id, $args );
		$action_data['maybe_parsed'] = $maybe_parsed;

		$this->process_action( $user_id, $action_data, $recipe_id, $args, $maybe_parsed );
	}