Automattic\WooCommerce\Database\Migrations

MigrationHelper::get_wpdb_placeholder_for_type()public staticWC 1.0

Return $wpdb->prepare placeholder for data type.

Метод класса: MigrationHelper{}

No Hooks.

Return

String. $wpdb placeholder.

Usage

$result = MigrationHelper::get_wpdb_placeholder_for_type( $type ): string;
$type(string) (required)
Data type.

Code of MigrationHelper::get_wpdb_placeholder_for_type() WC 7.1.0

public static function get_wpdb_placeholder_for_type( string $type ): string {
	return self::$wpdb_placeholder_for_type[ $type ];
}