disabled


disabled ( $disabled, $current = true, $echo = true )

Parameters:
  • (mixed) $disabled One of the values to compare
  • (mixed) $current (true) The other value to compare if not just true
  • (bool) $echo Whether to echo or just return the string
Returns:
  • (string) html attribute or empty string
Defined at:

Description

Outputs the html disabled attribute.

Compares the first two arguments and if identical marks as disabled

Related Functions

is_paged, is_embed, is_iterable, is_countable, is_serialized

Top Google Results

User discussions

wpseek mobile