Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Singe Itinerary Page
  5. Action : wp_travel_review_after_comment_text

Action : wp_travel_review_after_comment_text

This hook allows you to add a comment just below the review and the gravatar image section.

Source

File : /templates/review.php

Used by
/templates/review.php

Example :

function prefix_wp_travel_review_after_comment_text( $comment ) {
    echo '<p>This paragraph is added after comment text</p>'; //  Adds the content after comments.
}
add_action( 'wp_travel_review_after_comment_text', 'prefix_wp_travel_review_after_comment_text' );
Was this article helpful to you? Yes No

How can we help?