Browse: Home / Classes / LDLMS_DB /


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

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

Description #

Parameters #


(array) (Optional) Array of items to process.

Default value: array()


(string) (Optional) type to enforce for all items.

Default value: ''

Return #

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

Source #

File: includes/class-ldlms-db.php

Changelog #

Version Description
3.4.0 Introduced.