$comment, 'args' => $args, 'depth' => $depth, ] ); } } if ( ! function_exists( 'opalestate_review_display_gravatar' ) ) { /** * Display the review authors gravatar * * @param array $comment WP_Comment. * @return void */ function opalestate_review_display_gravatar( $comment ) { echo get_avatar( $comment, apply_filters( 'opalestate_review_gravatar_size', '60' ), '' ); } } if ( ! function_exists( 'opalestate_review_display_rating' ) ) { /** * Display the reviewers star rating * * @return void */ function opalestate_review_display_rating() { echo opalestate_load_template_path( 'rating/review-rating' ); } } if ( ! function_exists( 'opalestate_review_display_meta' ) ) { /** * Display the review authors meta (name, verified owner, review date) * * @return void */ function opalestate_review_display_meta() { echo opalestate_load_template_path( 'rating/review-meta' ); } } if ( ! function_exists( 'opalestate_review_display_comment_text' ) ) { /** * Display the review content. */ function opalestate_review_display_comment_text() { echo '
'; comment_text(); echo '
'; } } function opalestate_get_property_rating_features() { return Opalestate_Rating_Helper::get_features( 'opalestate_rating_ft' ); } function opalestate_get_agency_rating_features() { return Opalestate_Rating_Helper::get_features( 'opalestate_agency_ft' ); } function opalestate_get_agent_rating_features() { return Opalestate_Rating_Helper::get_features( 'opalestate_agent_ft' ); }