Method | Description | |
---|---|---|
__callStatic ( string $name, mixed $arguments ) : mixed | Fallback for non-existing methods. | |
checkbox ( boolean | string $value ) : boolean | Checkbox sanitization callback. | |
color ( string $value ) : string | Sanitize colors. | |
css_dimension ( string $value ) : string | Sanitizes css dimensions. | |
dropdown_pages ( integer $page_id, WP_Customize_Setting $setting ) : integer | string | Drop-down Pages sanitization callback. | |
filter_number ( string $value ) : integer | float | Filters numeric values. | |
number ( integer | float | double | string $value ) : integer | float | double | Sanitize number options. | |
rgba ( string $value ) : string | Sanitize RGBA colors | |
sortable ( string | array $value ) : string | Sanitize sortable controls | |
unfiltered ( integer | string | array $value ) : integer | string | array | DOES NOT SANITIZE ANYTHING. |
public static css_dimension ( string $value ) : string | ||
$value | string | The value to be sanitized. |
return | string |