$config ) { $data[ $key ] = get_post_meta( get_the_ID(), PledgeMeta\META_PREFIX . $key, $config['single'] ); } $contributors = Contributor\get_pledge_contributors( get_the_ID() ); $allowed_html = array_merge( wp_kses_allowed_html( 'data' ), array( 'span' => array( 'class' => true ) ) ); $more = sprintf( __( '… continue reading %s', 'wporg-5ftf' ), esc_url( get_permalink() ), esc_html( get_the_title() ) ); $content = apply_filters( 'the_content', $data['org-description'] ); $content = strip_tags( $content ); $content = wp_trim_words( $content, 55, $more ); $total_hours = $pledge->{ PledgeMeta\META_PREFIX . 'pledge-total-hours' }; $contributor_title = sprintf( esc_html( _n( '%1$s has pledged %2$d hour a week', '%1$s has pledged %2$d hours a week', $total_hours, 'wporg-5ftf' ) ), wp_kses_post( get_the_title() ), intval( $total_hours ) ); ?>
>
', '' ); ?> ', '' ); ?>

post_title ); if ( $contrib ) { printf( '%s', get_avatar( $contrib->user_email, 30, 'blank' ) ); } } ?>