Adobe Commerce Front-End Developer Expert AD0-E720 Question # 23 Topic 1 Discussion

Adobe Commerce Front-End Developer Expert AD0-E720 Question # 23 Topic 1 Discussion

AD0-E720 Exam Topic 1 Question 23 Discussion:
Question #: 23
Topic #: 1

An Adobe Commerce developer needs to display a URL in the template. How would the variable $ur1be securely output in the template?


A.

<?php echo $escaper->escapeUrl($url) ?>


B.

<?php echo $escaper->escapeLink($url) ?>


C.

<?php echo $escaper->escapeHtml($url) ?>


Get Premium AD0-E720 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.