{
  "generated": "2026-04-05T00:33:19.052Z",
  "product": {
    "id": "gravityview-ratings-reviews",
    "label": "Ratings & Reviews",
    "repo": "GravityKit/Ratings-Reviews",
    "version": "2.3.2",
    "actions": [
      "comment_form",
      "comment_form_after",
      "comment_form_after_fields",
      "comment_form_before",
      "comment_form_before_fields",
      "comment_form_comments_closed",
      "comment_form_logged_in_after",
      "comment_form_must_log_in_after",
      "comment_form_top",
      "gravityview_ratings_reviews_after_enqueue",
      "gravityview_ratings_reviews_before_enqueue",
      "limited_to_one_review_after"
    ],
    "filters": [
      "comment_form_field_comment",
      "comment_form_field_\\{$name\\}",
      "comment_form_logged_in",
      "edit_comment_link",
      "get_edit_comment_link",
      "gk/ratings-reviews/rating-required",
      "gravityview_ratings_reviews_merge_tags",
      "gravityview_ratings_reviews_replace_merge_tag",
      "gv_ratings_reviews_allow_empty_comments",
      "gv_ratings_reviews_disable_downvoting",
      "gv_ratings_reviews_display_reviews",
      "gv_ratings_reviews_get_reviews_atts",
      "gv_ratings_reviews_is_user_allowed_to_review",
      "gv_ratings_reviews_js_vars",
      "gv_ratings_reviews_post_bridge_title",
      "gv_ratings_reviews_ratings_allowed",
      "gv_ratings_reviews_review_form_fields",
      "gv_ratings_reviews_review_form_settings",
      "gv_ratings_reviews_reviews_allowed",
      "gv_ratings_reviews_star_rating",
      "gv_ratings_reviews_star_rating_titles",
      "gv_ratings_reviews_use_advanced_sorting",
      "gv_ratings_reviews_vote_rating",
      "gv_ratings_reviews_vote_rating_text",
      "gv_reviews_number"
    ]
  },
  "hooks": [
    {
      "id": "comment_form",
      "name": "comment_form",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires at the bottom of the comment form, inside the closing  tag.",
      "parameters": [
        {
          "name": "post_id",
          "type": "int",
          "description": "The post ID."
        }
      ],
      "categories": [
        "forms"
      ],
      "example": "add_action( 'comment_form', function($post_id) {\n    // Your code here\n}, 10, 1 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 159
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form/",
      "related": [
        "comment_form_after",
        "comment_form_before"
      ]
    },
    {
      "id": "comment_form_after",
      "name": "comment_form_after",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires after the comment form.",
      "parameters": [],
      "categories": [
        "forms",
        "after"
      ],
      "example": "add_action( 'comment_form_after', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 173
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_after/",
      "related": [
        "comment_form",
        "comment_form_before"
      ]
    },
    {
      "id": "comment_form_after_fields",
      "name": "comment_form_after_fields",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires after the comment fields in the comment form.",
      "parameters": [],
      "categories": [
        "fields",
        "forms",
        "after"
      ],
      "example": "add_action( 'comment_form_after_fields', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 133
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_after_fields/",
      "related": []
    },
    {
      "id": "comment_form_before",
      "name": "comment_form_before",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires before the comment form.",
      "parameters": [],
      "categories": [
        "forms",
        "before"
      ],
      "example": "add_action( 'comment_form_before', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 23
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_before/",
      "related": [
        "comment_form",
        "comment_form_after"
      ]
    },
    {
      "id": "comment_form_before_fields",
      "name": "comment_form_before_fields",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires before the comment fields in the comment form.",
      "parameters": [],
      "categories": [
        "fields",
        "forms",
        "before"
      ],
      "example": "add_action( 'comment_form_before_fields', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 114
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_before_fields/",
      "related": []
    },
    {
      "id": "comment_form_comments_closed",
      "name": "comment_form_comments_closed",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires after the comment form if comments are closed.",
      "parameters": [],
      "categories": [
        "forms"
      ],
      "example": "add_action( 'comment_form_comments_closed', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 180
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_comments_closed/",
      "related": []
    },
    {
      "id": "comment_form_logged_in_after",
      "name": "comment_form_logged_in_after",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires after the is_user_logged_in() check in the comment form.",
      "parameters": [
        {
          "name": "commenter",
          "type": "array",
          "description": "An array containing the comment author's username, email, and URL."
        },
        {
          "name": "user_identity",
          "type": "string",
          "description": "If the commenter is a registered user, the display name, blank otherwise."
        }
      ],
      "categories": [
        "forms",
        "after"
      ],
      "example": "add_action( 'comment_form_logged_in_after', function($commenter, $user_identity) {\n    // Your code here\n}, 10, 2 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 104
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_logged_in_after/",
      "related": [
        "comment_form_logged_in"
      ]
    },
    {
      "id": "comment_form_must_log_in_after",
      "name": "comment_form_must_log_in_after",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires after the HTML-formatted 'must log in after' message in the comment form.",
      "parameters": [],
      "categories": [
        "forms",
        "after"
      ],
      "example": "add_action( 'comment_form_must_log_in_after', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 35
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_must_log_in_after/",
      "related": []
    },
    {
      "id": "comment_form_top",
      "name": "comment_form_top",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires at the top of the comment form, inside the &lt;form&gt; tag.",
      "parameters": [],
      "categories": [
        "forms"
      ],
      "example": "add_action( 'comment_form_top', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 76
      },
      "url": "/docs/gravityview-ratings-reviews/actions/comment_form_top/",
      "related": []
    },
    {
      "id": "gravityview_ratings_reviews_after_enqueue",
      "name": "gravityview_ratings_reviews_after_enqueue",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires after required scripts and styles are enqueued.",
      "parameters": [],
      "categories": [
        "views",
        "after"
      ],
      "example": "add_action( 'gravityview_ratings_reviews_after_enqueue', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "includes/class-component.php",
        "line": 82
      },
      "url": "/docs/gravityview-ratings-reviews/actions/gravityview_ratings_reviews_after_enqueue/",
      "related": []
    },
    {
      "id": "gravityview_ratings_reviews_before_enqueue",
      "name": "gravityview_ratings_reviews_before_enqueue",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires before required scripts and styles are enqueued.",
      "parameters": [],
      "categories": [
        "views",
        "before"
      ],
      "example": "add_action( 'gravityview_ratings_reviews_before_enqueue', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "includes/class-component.php",
        "line": 72
      },
      "url": "/docs/gravityview-ratings-reviews/actions/gravityview_ratings_reviews_before_enqueue/",
      "related": []
    },
    {
      "id": "limited_to_one_review_after",
      "name": "limited_to_one_review_after",
      "type": "action",
      "product": "gravityview-ratings-reviews",
      "description": "Fires after the HTML-formatted 'limited to one review' message.",
      "parameters": [],
      "categories": [
        "views",
        "after"
      ],
      "example": "add_action( 'limited_to_one_review_after', function() {\n    // Your code here\n} );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 64
      },
      "url": "/docs/gravityview-ratings-reviews/actions/limited_to_one_review_after/",
      "related": []
    },
    {
      "id": "comment_form_field_comment",
      "name": "comment_form_field_comment",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the content of the comment textarea field for display.",
      "parameters": [
        {
          "name": "args_comment_field",
          "type": "string",
          "description": "The content of the comment textarea field."
        }
      ],
      "categories": [
        "fields",
        "forms"
      ],
      "example": "add_filter( 'comment_form_field_comment', function($args_comment_field) {\n    // Modify $args_comment_field as needed\n    return $args_comment_field;\n}, 10, 1 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 144
      },
      "url": "/docs/gravityview-ratings-reviews/filters/comment_form_field_comment/",
      "related": []
    },
    {
      "id": "comment_form_field_name",
      "name": "comment_form_field_\\{$name\\}",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter a comment form field for display.",
      "parameters": [
        {
          "name": "field",
          "type": "string",
          "description": "The HTML-formatted output of the comment form field."
        }
      ],
      "categories": [
        "fields",
        "forms"
      ],
      "example": "add_filter( 'comment_form_field_\\{$name\\}', function($field) {\n    // Modify $field as needed\n    return $field;\n}, 10, 1 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 126
      },
      "url": "/docs/gravityview-ratings-reviews/filters/comment_form_field_name/",
      "related": []
    },
    {
      "id": "comment_form_logged_in",
      "name": "comment_form_logged_in",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the 'logged in' message for the comment form for display.",
      "parameters": [
        {
          "name": "args_logged_in",
          "type": "string",
          "description": "The logged-in-as HTML-formatted message."
        },
        {
          "name": "commenter",
          "type": "array",
          "description": "An array containing the comment author's username, email, and URL."
        },
        {
          "name": "user_identity",
          "type": "string",
          "description": "If the commenter is a registered user, the display name, blank otherwise."
        }
      ],
      "categories": [
        "forms"
      ],
      "example": "add_filter( 'comment_form_logged_in', function($args_logged_in, $commenter, $user_identity) {\n    // Modify $args_logged_in as needed\n    return $args_logged_in;\n}, 10, 3 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "templates/review-form.php",
        "line": 91
      },
      "url": "/docs/gravityview-ratings-reviews/filters/comment_form_logged_in/",
      "related": [
        "comment_form_logged_in_after"
      ]
    },
    {
      "id": "edit_comment_link",
      "name": "edit_comment_link",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the comment edit link anchor tag.",
      "parameters": [
        {
          "name": "comment_id",
          "type": "int",
          "description": "Comment ID."
        },
        {
          "name": "text",
          "type": "string",
          "description": "Anchor text."
        },
        {
          "name": "link",
          "type": "string",
          "description": "Anchor tag for the edit link."
        }
      ],
      "categories": [
        "editing"
      ],
      "example": "add_filter( 'edit_comment_link', function($comment_id, $text, $link) {\n    // Modify $comment_id as needed\n    return $comment_id;\n}, 10, 3 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 531
      },
      "url": "/docs/gravityview-ratings-reviews/filters/edit_comment_link/",
      "related": []
    },
    {
      "id": "get_edit_comment_link",
      "name": "get_edit_comment_link",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the comment edit link.",
      "parameters": [
        {
          "name": "location",
          "type": "string",
          "description": "The edit link."
        }
      ],
      "categories": [
        "editing"
      ],
      "example": "add_filter( 'get_edit_comment_link', function($location) {\n    // Modify $location as needed\n    return $location;\n}, 10, 1 );",
      "since": null,
      "source": {
        "file": "includes/class-helper.php",
        "line": 491
      },
      "url": "/docs/gravityview-ratings-reviews/filters/get_edit_comment_link/",
      "related": []
    },
    {
      "id": "gk-ratings-reviews-rating-required",
      "name": "gk/ratings-reviews/rating-required",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Whether a rating is required on a comment.",
      "parameters": [
        {
          "name": "is_rating_required",
          "type": "bool",
          "description": "Whether the rating is required."
        },
        {
          "name": "view",
          "type": "object\\",
          "description": "null`"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gk/ratings-reviews/rating-required', function($is_rating_required, $view) {\n    // Modify $is_rating_required as needed\n    return $is_rating_required;\n}, 10, 2 );",
      "since": null,
      "source": {
        "file": "includes/class-helper.php",
        "line": 1672
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gk-ratings-reviews-rating-required/",
      "related": []
    },
    {
      "id": "gravityview_ratings_reviews_merge_tags",
      "name": "gravityview_ratings_reviews_merge_tags",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Modifies the list of available merge tags.",
      "parameters": [
        {
          "name": "merge_tags",
          "type": "array",
          "description": "Available merge tags in the <code>\\{tag\\}</code> =&gt; <code>Label</code> format."
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gravityview_ratings_reviews_merge_tags', function($merge_tags) {\n    // Modify $merge_tags as needed\n    return $merge_tags;\n}, 10, 1 );",
      "since": "[2.3.0](../../since/2-3-0/)",
      "source": {
        "file": "includes/class-review.php",
        "line": 1193
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gravityview_ratings_reviews_merge_tags/",
      "related": []
    },
    {
      "id": "gravityview_ratings_reviews_replace_merge_tag",
      "name": "gravityview_ratings_reviews_replace_merge_tag",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Replaces merge tag with its value.",
      "parameters": [
        {
          "name": "replacement",
          "type": "int\\",
          "description": "float\\"
        },
        {
          "name": "merge_tag",
          "type": "string",
          "description": "Merge tag to replace."
        },
        {
          "name": "text",
          "type": "string",
          "description": "Text where the replacement takes place."
        },
        {
          "name": "entry_ratings_detailed",
          "type": "array",
          "description": "Entry ratings data generated by \\{@see \\GravityView_Ratings_Reviews_Helper::get_ratings_detailed\\}"
        },
        {
          "name": "form",
          "type": "array",
          "description": "Gravity Forms form data."
        },
        {
          "name": "entry",
          "type": "array",
          "description": "Gravity Forms entry data."
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gravityview_ratings_reviews_replace_merge_tag', function($replacement, $merge_tag, $text, $entry_ratings_detailed, $form, $entry) {\n    // Modify $replacement as needed\n    return $replacement;\n}, 10, 6 );",
      "since": "[2.3.0](../../since/2-3-0/)",
      "source": {
        "file": "includes/class-review.php",
        "line": 1310
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gravityview_ratings_reviews_replace_merge_tag/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_allow_empty_comments",
      "name": "gv_ratings_reviews_allow_empty_comments",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Should empty review comments be allowed?",
      "parameters": [
        {
          "name": "allowed",
          "type": "bool",
          "description": "True or false"
        },
        {
          "name": "view_id",
          "type": "int",
          "description": "The ID of the current View"
        },
        {
          "name": "comment_post_ID",
          "type": "int",
          "description": "The ID of the submitted comment"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_allow_empty_comments', function($allowed, $view_id, $comment_post_ID) {\n    // Modify $allowed as needed\n    return $allowed;\n}, 10, 3 );",
      "since": "[1.3](../../since/1-3/)",
      "source": {
        "file": "includes/class-review.php",
        "line": 281
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_allow_empty_comments/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_disable_downvoting",
      "name": "gv_ratings_reviews_disable_downvoting",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Controls whether downvoting is disabled.",
      "parameters": [
        {
          "name": "disable_downvoting",
          "type": "bool",
          "description": "Whether to disable downvoting. Default: false or the value set in the View settings."
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_disable_downvoting', function($disable_downvoting) {\n    // Modify $disable_downvoting as needed\n    return $disable_downvoting;\n}, 10, 1 );",
      "since": "[2.3.0](../../since/2-3-0/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 1734
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_disable_downvoting/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_display_reviews",
      "name": "gv_ratings_reviews_display_reviews",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Whether to display reviews for the View",
      "parameters": [
        {
          "name": "display_reviews",
          "type": "bool",
          "description": "Whether the commments are open and it's not Edit Entry screen"
        },
        {
          "name": "view_id",
          "type": "int",
          "description": "ID of the View being displayed"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_display_reviews', function($display_reviews, $view_id) {\n    // Modify $display_reviews as needed\n    return $display_reviews;\n}, 10, 2 );",
      "since": "[1.0.3](../../since/1-0-3/)-beta",
      "source": {
        "file": "includes/class-review.php",
        "line": 732
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_display_reviews/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_get_reviews_atts",
      "name": "gv_ratings_reviews_get_reviews_atts",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Modify the settings passed to get_comments() when fetching reviews",
      "parameters": [
        {
          "name": "status",
          "type": "string",
          "description": "Status for reviews. Default: approve"
        },
        {
          "name": "atts",
          "type": "array",
          "description": "Settings for get_comments()"
        },
        {
          "name": "post",
          "type": "int\\",
          "description": "\\WP_Post`"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_get_reviews_atts', function($status, $atts, $post) {\n    // Modify $status as needed\n    return $status;\n}, 10, 3 );",
      "since": "[2.0.1](../../since/2-0-1/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 93
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_get_reviews_atts/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_is_user_allowed_to_review",
      "name": "gv_ratings_reviews_is_user_allowed_to_review",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filters the reviewdata value.",
      "parameters": [
        {
          "name": "reviewdata",
          "type": "array",
          "description": "Comment data array, including author, email,"
        },
        {
          "name": "post_bridge",
          "type": "int\\",
          "description": "\\WP_Post`"
        },
        {
          "name": "is_allowed",
          "type": "bool\\",
          "description": "\\WP_Error`"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_is_user_allowed_to_review', function($reviewdata, $post_bridge, $is_allowed) {\n    // Modify $reviewdata as needed\n    return $reviewdata;\n}, 10, 3 );",
      "since": "[2.0.1](../../since/2-0-1/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 1475
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_is_user_allowed_to_review/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_js_vars",
      "name": "gv_ratings_reviews_js_vars",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the array of data to be localized for javascript",
      "parameters": [],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_js_vars', function() {\n    // Modify $value as needed\n    return $value;\n} );",
      "since": "[1.3](../../since/1-3/)",
      "source": {
        "file": "includes/class-review.php",
        "line": 1157
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_js_vars/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_post_bridge_title",
      "name": "gv_ratings_reviews_post_bridge_title",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Modify the title of the Post Bridge using entry data The Post Bridge is a 1 &lt;=&gt; 1 custom post type that has a 1 &lt;=&gt; 1 relationship with a Gravity Forms entry that has a review.",
      "parameters": [
        {
          "name": "post_bridge_title",
          "type": "string",
          "description": "Existing title format: \"GF entry ID %d, GF form ID %d\""
        },
        {
          "name": "entry",
          "type": "array",
          "description": "Gravity Forms entry to create the post bridge for."
        }
      ],
      "categories": [
        "views",
        "after"
      ],
      "example": "add_filter( 'gv_ratings_reviews_post_bridge_title', function($post_bridge_title, $entry) {\n    // Modify $post_bridge_title as needed\n    return $post_bridge_title;\n}, 10, 2 );",
      "since": null,
      "source": {
        "file": "includes/class-post-bridge.php",
        "line": 169
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_post_bridge_title/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_ratings_allowed",
      "name": "gv_ratings_reviews_ratings_allowed",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Display ratings fields for this View?",
      "parameters": [
        {
          "name": "allow_ratings",
          "type": "bool",
          "description": "True: Yes, allow ratings; false: no, don't allow ratings"
        },
        {
          "name": "form",
          "type": "object\\",
          "description": "array\\"
        },
        {
          "name": "entry",
          "type": "object\\",
          "description": "array\\"
        },
        {
          "name": "view",
          "type": "object\\",
          "description": "array\\"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_ratings_allowed', function($allow_ratings, $form, $entry, $view) {\n    // Modify $allow_ratings as needed\n    return $allow_ratings;\n}, 10, 4 );",
      "since": null,
      "source": {
        "file": "includes/class-helper.php",
        "line": 1648
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_ratings_allowed/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_review_form_fields",
      "name": "gv_ratings_reviews_review_form_fields",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the default comment form fields.",
      "parameters": [
        {
          "name": "fields",
          "type": "array",
          "description": "The default comment fields."
        }
      ],
      "categories": [
        "fields",
        "views",
        "forms"
      ],
      "example": "add_filter( 'gv_ratings_reviews_review_form_fields', function($fields) {\n    // Modify $fields as needed\n    return $fields;\n}, 10, 1 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "includes/class-review.php",
        "line": 1074
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_review_form_fields/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_review_form_settings",
      "name": "gv_ratings_reviews_review_form_settings",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the comment form default arguments.",
      "parameters": [
        {
          "name": "defaults",
          "type": "array",
          "description": "The default comment form arguments."
        }
      ],
      "categories": [
        "views",
        "forms"
      ],
      "example": "add_filter( 'gv_ratings_reviews_review_form_settings', function($defaults) {\n    // Modify $defaults as needed\n    return $defaults;\n}, 10, 1 );",
      "since": "[1.3](../../since/1-3/)",
      "source": {
        "file": "includes/class-review.php",
        "line": 1110
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_review_form_settings/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_reviews_allowed",
      "name": "gv_ratings_reviews_reviews_allowed",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Allow reviewing an entry for this View?",
      "parameters": [
        {
          "name": "allow_ratings",
          "type": "bool",
          "description": "True: Yes, allow reviews; false: no, don't allow reviews"
        },
        {
          "name": "form",
          "type": "array\\",
          "description": "int`"
        },
        {
          "name": "entry",
          "type": "array\\",
          "description": "int`"
        },
        {
          "name": "view",
          "type": "\\GravityView_View\\",
          "description": "array\\"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_reviews_allowed', function($allow_ratings, $form, $entry, $view) {\n    // Modify $allow_ratings as needed\n    return $allow_ratings;\n}, 10, 4 );",
      "since": null,
      "source": {
        "file": "includes/class-helper.php",
        "line": 1702
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_reviews_allowed/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_star_rating",
      "name": "gv_ratings_reviews_star_rating",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter for HTML element with a star rating.",
      "parameters": [
        {
          "name": "r",
          "type": "array",
          "description": "Optional array of star ratings arguments."
        },
        {
          "name": "output",
          "type": "string",
          "description": "HTML element with a star rating"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_star_rating', function($r, $output) {\n    // Modify $r as needed\n    return $r;\n}, 10, 2 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 904
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_star_rating/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_star_rating_titles",
      "name": "gv_ratings_reviews_star_rating_titles",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the star rating hover titles.",
      "parameters": [
        {
          "name": "stars",
          "type": "array",
          "description": "The array of star ratings"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_star_rating_titles', function($stars) {\n    // Modify $stars as needed\n    return $stars;\n}, 10, 1 );",
      "since": "[0.1.1](../../since/0-1-1/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 772
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_star_rating_titles/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_use_advanced_sorting",
      "name": "gv_ratings_reviews_use_advanced_sorting",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Allow users to include the Advanced Meta Sorting",
      "parameters": [
        {
          "name": "use_advanced_sorting",
          "type": "bool",
          "description": "Whether to add advanced sorting options (sort by 1 star ratings, 2 stars, etc) Default: false"
        },
        {
          "name": "form",
          "type": "array",
          "description": "Gravity Forms form array"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_use_advanced_sorting', function($use_advanced_sorting, $form) {\n    // Modify $use_advanced_sorting as needed\n    return $use_advanced_sorting;\n}, 10, 2 );",
      "since": null,
      "source": {
        "file": "includes/class-form-fields.php",
        "line": 181
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_use_advanced_sorting/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_vote_rating",
      "name": "gv_ratings_reviews_vote_rating",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter for HTML element with a vote rating.",
      "parameters": [
        {
          "name": "r",
          "type": "array",
          "description": "Array of args used to generate the output"
        },
        {
          "name": "output",
          "type": "string",
          "description": "HTML element with a vote rating"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_vote_rating', function($r, $output) {\n    // Modify $r as needed\n    return $r;\n}, 10, 2 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 1116
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_vote_rating/",
      "related": []
    },
    {
      "id": "gv_ratings_reviews_vote_rating_text",
      "name": "gv_ratings_reviews_vote_rating_text",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filters the original rating text value.",
      "parameters": [
        {
          "name": "original_rating_text",
          "type": "array",
          "description": "\\{"
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_ratings_reviews_vote_rating_text', function($original_rating_text) {\n    // Modify $original_rating_text as needed\n    return $original_rating_text;\n}, 10, 1 );",
      "since": null,
      "source": {
        "file": "includes/class-helper.php",
        "line": 1007
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_ratings_reviews_vote_rating_text/",
      "related": []
    },
    {
      "id": "gv_reviews_number",
      "name": "gv_reviews_number",
      "type": "filter",
      "product": "gravityview-ratings-reviews",
      "description": "Filter the comments count for display.",
      "parameters": [
        {
          "name": "number",
          "type": "int",
          "description": "The number of entry reviews."
        },
        {
          "name": "output",
          "type": "string",
          "description": "A translatable string formatted based on whether the count is equal to 0, 1, or 1+."
        }
      ],
      "categories": [
        "views"
      ],
      "example": "add_filter( 'gv_reviews_number', function($number, $output) {\n    // Modify $number as needed\n    return $number;\n}, 10, 2 );",
      "since": "[0.1.0](../../since/0-1-0/)",
      "source": {
        "file": "includes/class-helper.php",
        "line": 206
      },
      "url": "/docs/gravityview-ratings-reviews/filters/gv_reviews_number/",
      "related": []
    }
  ],
  "stats": {
    "total": 37,
    "actions": 12,
    "filters": 25
  }
}