Can WordPress HTML Blocks be validated with PHP?
I'm trying to change an element in the WP Front End accordingly with a previous validation (if the user is logged in). Most concretly my code would be something like this: <?php if ( is_user_logged_in() ) { // html button…