Automator_DB_Handler_Recipes::update( $to_update, $where, $update_format, $where_format )
Update recipe log table. Check $wpdb->update() to see how to pass values.
Parameters Parameters
- $to_update
-
(Required)
- $where
-
(Required)
- $update_format
-
(Required)
- $where_format
-
(Required)
Return Return
(bool|int)
Source Source
File: src/core/lib/utilities/db/class-automator-db-handler-recipes.php
public function update( array $to_update, array $where, array $update_format, array $where_format ) { global $wpdb; $table_name = isset( Automator()->db->tables->recipe ) ? Automator()->db->tables->recipe : 'uap_recipe_log'; return $wpdb->update( $wpdb->prefix . $table_name, $to_update, $where, $update_format, $where_format ); }
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
3.0 | Introduced. |