Warning: This method has been deprecated.

Automator_Recipe_Process_User::insert_trigger_meta( $args )

Insert the trigger for the user


Parameters Parameters

$args

(Required)


Top ↑

Return Return

(null)


Source Source

File: src/core/lib/process/class-automator-recipe-process-user.php

	public function insert_trigger_meta( $args ) {
		if ( defined( 'AUTOMATOR_DEBUG_MODE' ) && true === AUTOMATOR_DEBUG_MODE ) {
			_doing_it_wrong( 'Automator()->process->user->insert_trigger_meta( $args )', 'Use Automator()->db->trigger->insert_meta( $trigger_id, $trigger_log_id, $run_number, $args ) instead.', '3.0' );
		}
		$trigger_id     = absint( $args['trigger_id'] );
		$trigger_log_id = absint( $args['trigger_log_id'] );
		$run_number     = absint( $args['run_number'] );

		return Automator()->db->trigger->add_meta( $trigger_id, $trigger_log_id, $run_number, $args );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.