WordPress at Your Fingertips
function is not described

WC_Tracks_Event::prop_name_is_valid() public WC 1.0

Check if a property name is valid.

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

No Hooks.

Return

false|Int.

Usage

$result = WC_Tracks_Event::prop_name_is_valid( $name );
$name(string) (required)
Event property.

Code of WC_Tracks_Event::prop_name_is_valid() WC 5.8.0

public static function prop_name_is_valid( $name ) {
	return preg_match( self::PROP_NAME_REGEX, $name );
}