I saw themeforest/WordPress.org has said all WordPress default get functions need to be escaped output for security region for WordPress Theme or Plugin development, Now I want to show password form if a post has password protected. So now I’m using get_the_password_form () function. Now I need to know this function do I need escaping?
If answer Yes, Please help me, How can I escape this function? Like esc_html (), or esc_url () etc.
Which function do i need to use for escaping ?
Here is Themeforest Requirements
And Here is my code
echo get_the_password_form( );
Read more here:: Do i need escaping get_the_passsword_form function?