Menu
wpseek
mobile
Search
bool_from_yn
bool_from_yn
(
$yn
)
Parameters:
(string)
yn
Character string containing either 'y' (yes) or 'n' (no).
Returns:
(bool) True if 'y', false on anything else.
Defined at:
wp-includes/functions.php
, line 1584
Introduced in WordPress:
1.0.0
Deprecated in WordPress:
—
Description
Determines whether input is yes or no.Must be 'y' to be true.
Related Functions
get_blog_id_from_url
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
1
wp_print_auto_sizes_contain_css_fix
My Bookmarks
- Soon -
About
Imprint
Privacy Policy