__checked_selected_helper
- %1$s is private and should not be used in themes or plugins directly.
__checked_selected_helper ( $helper, $current, $display, $type )
Access:Parameters:- (mixed) helper One of the values to compare.
- (mixed) current The other value to compare if not just true.
- (bool) display Whether to echo or just return the string.
- (string) type The type of checked|selected|disabled|readonly we are doing.
Returns:- (string) HTML attribute or empty string.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Private helper function for checked, selected, disabled and readonly.Compares the first two arguments and if identical marks as `$type`.