__checked_selected_helper


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

Access:
  • private
Parameters:
  • (mixed) helper 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
  • (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_check_filetype, wp_scheduled_delete, delete_theme, wp_ajax_delete_theme, wp_embed_register_handler

Top Google Results

User discussions

wpseek mobile