Automator_DB_Handler_Triggers::update_meta( array $update, array $where, array $update_format, array $where_format )


Parameters Parameters

$update

(array) (Required)

$where

(array) (Required)

$update_format

(array) (Required)

$where_format

(array) (Required)


Top ↑

Return Return

(bool|int)


Source Source

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

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

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