WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

OnboardingTasks::sanitize_special_column_name_regex() public WC 1.0

Sanitize special column name regex.

{} It's a method of the class: OnboardingTasks{}

No Hooks.

Return

String. Nothing.

Usage

$result = OnboardingTasks::sanitize_special_column_name_regex( $value );
$value(string) (required)
Raw special column name.

Code of OnboardingTasks::sanitize_special_column_name_regex() WC 5.3.0

<?php
public static function sanitize_special_column_name_regex( $value ) {
	return '/' . str_replace( array( '%d', '%s' ), '(.*)', trim( quotemeta( $value ) ) ) . '/';
}