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 yes, false on anything else.
Defined at:
wp-includes/functions.php
, line 1535
Introduced in WordPress:
1.0.0
Deprecated in WordPress:
—
Description
Whether input is yes or no.Must be 'y' to be true.
Related Functions
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
6
wp_cron_conditionally_prevent_sslverify
wp_is_https_supported
wp_is_owned_html_output
wp_is_using_https
wp_schedule_https_detection
wp_update_https_detection_errors
My Bookmarks
- Soon -
About
Imprint
Privacy Policy