wp-includes/php-compat/readonly.php:34Outputs the HTML readonly attribute.
$readonly_valuemixed$currentmixedoptionaltrue$displaybooloptionaltruestringfunction readonly( $readonly_value, $current = true, $display = true ) { _deprecated_function( __FUNCTION__, '5.9.0', 'wp_readonly()' ); return wp_readonly( $readonly_value, $current, $display );}Introduced in 4.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/php-compat/readonly.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.