sanitize_hex_color [ WordPress-Funktionen ]
sanitize_hex_color ( $color )
| Parameter: |
|
| Gibt zurück: |
|
| Definiert in: | |
| Codex |
Ähnliche Funktionen: sanitize_hex_color_no_hash, sanitize_user, sanitize_term, sanitize_text_field, sanitize_html_class
Validates a hex color.
Returns either '', a 3 or 6 digit hex color (with #), or null. For validating values without a #, see sanitize_hex_color_no_hash().
Beispiele [ wp-snippets.com ]
Top Google Suchergebnisse
- sanitize_hex_color (WordPress Function) - WPSeek.com
Validates a hex color. WordPress lookup for sanitize_hex_color, a WordPress Function.
wpseek.com - sanitize_hex_color_no_hash (WordPress Function) - WPSeek.com
Sanitizes a hex color without a hash. Use sanitize_hex_color() when possible .
wpseek.com - Docs for page class-wp-customize-manager.php
sanitize_hex_color (line 1000). Validates a hex color. Returns either '', a 3 ... Use sanitize_hex_color() when possible. Saving hex colors without a hash puts the ...
phpdoc.wordpress.org - sanitize_hex_color:WordPress私的マニュアル - Elearn.jp
2012年6月14日 ... WordPressの関数: sanitize_hex_color - '#'のついた16進数のカラー値をサニタイズ する.
elearn.jp
