Private AccessPrivate Access
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Private helper function for checked, selected, disabled and readonly.
Compares the first two arguments and if identical marks as $type
(mixed) (Required) One of the values to compare
(mixed) (Required) (true) The other value to compare if not just true
(bool) (Required) Whether to echo or just return the string
(string) (Required) The type of checked|selected|disabled|readonly we are doing
(string) html attribute or empty string