I'm working with wordpress, and have stoped with a problem, I can't figure out how to deal with quotes and php code inside a string.
working code:
$wrap .= '<li class="qx-nav-logo">
<a href="">
<img src="http://127.0.0.1/wordpress/wp-content/uploads/theme/logo-nav.svg" />
</a>
</li>';
what I want to apply, is the href attribute value inside 'a' tag
<?php echo esc_url( home_url( '/' ) ); ?>
I tried with double quotes and signle insides, and other way, but I does not work.
could You write me, how does it have to be done?