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_before_comment_text

Action : wp_travel_review_before_comment_text

This hook allows you to add a text before the review comment.


File : /templates/review.php

Used by

Example :

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

How can we help?