__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

_json_decode_object_helper, wp_check_filetype, wp_scheduled_delete, delete_theme, wp_ajax_delete_theme

Top Google Results

User discussions

wpseek mobile