file update

This commit is contained in:
magepeopleteam 2020-12-14 12:14:05 +00:00
parent 51e101be13
commit e894a11c36
1 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,9 @@ get_header();
the_post(); the_post();
global $post, $woocommerce; global $post, $woocommerce;
if ( post_password_required() ) { if ( post_password_required() ) {
echo '<div class="mep-events-wrapper">';
echo get_the_password_form(); // WPCS: XSS ok. echo get_the_password_form(); // WPCS: XSS ok.
echo '</div>';
}else{ }else{
$event_meta = get_post_custom(get_the_id()); $event_meta = get_post_custom(get_the_id());