LLMS_Database_Query::escape_and_quote_string( mixed $input )

Escape and add quotes to a string, useful for array mapping when building queries


Description Description


Parameters Parameters

$input

(mixed) (Required) input data


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.database.query.php

	public function escape_and_quote_string( $input ) {
		return "'" . esc_sql( $input ) . "'";
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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