exists() ? $best_listing_user->display_name : ''; $best_listing_comments_number = get_comments_number(); /* translators: %s is replaced with the number of comment */ $best_listing_comments_text = sprintf( _nx( '%s Comment', '%s Comments', $best_listing_comments_number, 'comments title', 'best-listing' ), number_format_i18n( $best_listing_comments_number ) ); $best_listing_comment_args = array( 'callback' => 'Best_Listing\wpWax\Helper::comments_callback', ); $best_listing_comment_form_fields = array( 'author' => '
', 'email' => '', 'url' => '', 'cookies' => '', ); $best_listing_comment_form_args = array( 'submit_button' => '', 'submit_field' => '%1$s %2$s
' . esc_html__( 'Your email address will not be published.', 'best-listing' ) . '
%s
', sprintf( /* translators: 1: Edit user link, 2: Accessibility text, 3: User name, 4: Logout URL. */ __( 'Logged in as %3$s. Log out?', 'best-listing' ), get_edit_user_link(), /* translators: %s: User name. */ esc_attr( sprintf( _x( 'Logged in as %s. Edit your profile.', 'Logged in as', 'best-listing' ), $best_listing_user_identity ) ), $best_listing_user_identity, /** This filter is documented in wp-includes/link-template.php */ wp_logout_url( apply_filters( 'best_listing_the_permalink', get_permalink( $best_listing_post_id ), $best_listing_post_id ) ) ) ), ); ?>