Browse: Home / Classes / LDLMS_DB /

LDLMS_DB::escape_IN_clause_array

LDLMS_DB::escape_IN_clause_array( $items = array(),  $force_type = '' )

Utility function to pre-process an array of values used in the SQL IN() clause.


Description #


Parameters #

$items

(Optional) Array of items to process.

Default value: array()

$force_type

(Optional) type to enforce for all items.

Default value: ''


Return #

(Array) with 'placeholders' and 'values' elements.


Source #

File: includes/class-ldlms-db.php


Changelog #

Changelog
Version Description
3.4.0 Introduced.