Automator_DB_Handler_Triggers::update( $to_update,  $where,  $update_format,  $where_format )


Parameters Parameters

$to_update

(Required)

$where

(Required)

$update_format

(Required)

$where_format

(Required)


Top ↑

Return Return

(bool|int)


Source Source

File: src/core/lib/utilities/db/class-automator-db-handler-triggers.php

	public function update( array $to_update, array $where, array $update_format, array $where_format ) {
		global $wpdb;
		$table_name = isset( Automator()->db->tables->trigger ) ? Automator()->db->tables->trigger : 'uap_trigger_log';

		return $wpdb->update(
			$wpdb->prefix . $table_name,
			$to_update,
			$where,
			$update_format,
			$where_format
		);
	}