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 Description


Parameters Parameters

$items

(Optional) Array of items to process.

Default value: array()

$force_type

(Optional) type to enforce for all items.

Default value: ''


Top ↑

Return Return

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


Top ↑

Source Source

File: includes/class-ldlms-db.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.