twentyeleven_theme_options_validate

FUNCTION wp-content\themes\twentyeleven\inc\theme-options.php (ligne 377) github
Sanitizes and validates form input. Accepts an array, return a sanitized array.

Paramètres

Entrée :
$input
Sortie :
@param array $input An array of form input.
@return array<string, string> An array of sanitized and validated form output.

Utilisation

// Utilisation de la fonction twentyeleven_theme_options_validate
$result = twentyeleven_theme_options_validate($input);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...