disabled
disabled ( $disabled, $current = true, $display = true )
Parameters:- (mixed) disabled One of the values to compare.
- (mixed) current Optional. The other value to compare if not just true. Default true.
- (bool) display Optional. Whether to echo or just return the string. Default true.
Returns:- (string) HTML attribute or empty string.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Outputs the HTML disabled attribute.Compares the first two arguments and if identical marks as disabled.