Why I left?

'meta_value', 'meta_key' => 'last_save', 'order' => 'DESC', ); $users = get_users( $args ); //user loop foreach ( $users as $user ) { $userid = $user->ID; if ( '' !== get_field( 'why_i_left', 'user_' . $userid ) ) { // questions loop // answer $the_answers .= '
'; $the_answers .= '
'; $the_answers .= wp_kses_post( get_field( 'why_i_left', 'user_' . $userid ) ); $the_answers .= '
'; // user attribution - photo and name and link (only if they want to be listed in directory) $in_directory = get_field( 'in_directory', 'user_' . $userid ); if ( 'true' === $in_directory || 'website' === $in_directory || ( 'private' === $in_directory && is_user_logged_in() ) ) { $userimg = get_field( 'photo', 'user_' . $userid ); $username = esc_html( $user->nickname ); $the_answers .= ''; $the_answers .= ''; $the_answers .= ''; if ( $userimg ) { $the_answers .= wp_get_attachment_image( $userimg, 'medium' ); } else { $the_answers .= ''; } $the_answers .= ''; $the_answers .= '' . $username . ''; $the_answers .= ''; $the_answers .= ''; } $the_answers .= '
'; } } // set_transient( $transient_name, $the_answers, 24 * HOUR_IN_SECONDS ); // } ?>

There are no currently available answers for this question, add your own and be the first!