PHP concatenation
-
I’m quite a newbie in PHP, I can only manage simple stuff, and this is giving me a really big headache.
I’d like to make this piece of code:
<?php edit_post_link( __( 'Editar', 'fcwk' ), '<span class="sep"> | </span><span class="edit-link">', '</span>' ); ?>…work only when a user is logged in, so it would be inside of this other piece of code:
<?php if ( is_user_logged_in() ) { } ?>Thanks in advance! 🙂
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘PHP concatenation’ is closed to new replies.