wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_custom_field_url
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

wpdiscuz_custom_field_url

This filter can be used for changing the value of the URL field printed under the comment.

Changelog

Since 7.0.0 version

Parameters

1. $value (type: string) – the value of the field
2. $args (type: array) – the arguments filled as the values of a fields

Usage

add_filter("wpdiscuz_custom_field_url", function ($value, $args) {
    $value .= "custom-text";
    return $value;
}, 10, 2);

Was this article helpful to you? Yes No