__checked_selected_helper


__checked_selected_helper ( $helper, $current, $display, $type )

Access:
  • private
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:

Description

Private helper function for checked, selected, disabled and readonly.Compares the first two arguments and if identical marks as `$type`.

Related Functions

wp_cache_delete_multiple, wp_check_filetype, wp_scheduled_delete, delete_theme, wp_ajax_delete_theme

Top Google Results

User discussions

wpseek mobile