";
}
/**
* During comparison, encode the route being requested in the same fashion that it's stored in the database option
* Encoding during save happens in Disable_REST_API::maybe_process_settings_form()
*
* @param $route
* @param $whitelisted_routes
*
* @return string
*/
function DRA_get_route_checked_prop( $route, $whitelisted_routes ) {
$is_route_checked = in_array( esc_html( $route ), $whitelisted_routes, true );
return checked( $is_route_checked, true, false );
}