Automattic\WooCommerce\Database\Migrations

MigrationHelper::get_wpdb_placeholder_for_type()public staticWC 1.0

Return $wpdb->prepare placeholder for data type.

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

Хуков нет.

Возвращает

Строку. $wpdb placeholder.

Использование

$result = MigrationHelper::get_wpdb_placeholder_for_type( $type ): string;
$type(строка) (обязательный)
Data type.

Код MigrationHelper::get_wpdb_placeholder_for_type() WC 6.7.0

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