Automattic\WooCommerce\Database\Migrations
MigrationHelper::get_wpdb_placeholder_for_type
Return $wpdb->prepare placeholder for data type.
Method of the class: MigrationHelper{}
No Hooks.
Returns
String. $wpdb placeholder.
Usage
$result = MigrationHelper::get_wpdb_placeholder_for_type( $type ): string;
- $type(string) (required)
- Data type.
MigrationHelper::get_wpdb_placeholder_for_type() MigrationHelper::get wpdb placeholder for type code WC 10.4.3
public static function get_wpdb_placeholder_for_type( string $type ): string {
return self::$wpdb_placeholder_for_type[ $type ];
}