bp_notification_before_update, $update_args, $where_args
bp_notification_before_update, $update_args, $where_args
Appears in: buddypress.14.5.2
Hook Type: action
Displaying hooks found in version: buddypress.14.5.2do_action('bp_notification_before_update, $update_args, $where_args') is found 2 times:
- /bp-notifications/classes/class-bp-notifications-notification.php line 897
* * @param array $update_args See BP_Notifications_Notification::update(). * @param array $where_args See BP_Notifications_Notification::update(). */ do_action( 'bp_notification_before_update', $update_args, $where_args ); return self::_update( $update['data'], $where['data'], $update['format'], $where['format']
- /bp-notifications/classes/class-bp-notifications-notification.php line 972
$where_args['ids'] = $items; } /** This action is documented in bp-notifications/classes/class-bp-notifications-notification.php */ do_action( 'bp_notification_before_update', $update_args, $where_args ); return $wpdb->query( $wpdb->prepare( "UPDATE {$bp->notifications->table_name} SET {$fields} WHERE {$conditions}", $values ) ); } /** * Delete notifications.