Alert: 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.

__checked_selected_helper( mixed $helper, mixed $current, bool $echo, string $type )

Private helper function for checked, selected, and disabled.


25 related functions found for: __checked_selected_helper

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordscheck, checked, general-template-php, helper, select, selected, wp-includes
wp-parser-packageTemplate, WordPress
wp-parser-source-filewp-includes/general-template.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • check
  • checked
  • general-template-php
  • helper
  • select
  • selected
  • Template
  • wp-includes
  • wp-includes/general-template.php
  • template

Top ↑

Description Description

Compares the first two arguments and if identical marks as $type


Top ↑

Parameters Parameters

$helper

(mixed) (Required) One of the values to compare

$current

(mixed) (Required) (true) The other value to compare if not just true

$echo

(bool) (Required) Whether to echo or just return the string

$type

(string) (Required) The type of checked|selected|disabled we are doing


Top ↑

Return Return

(string) html attribute or empty string


Top ↑

Source Source

File: wp-includes/general-template.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.