1 filter_example.module _filter_example_filter_time_tips($filter, $format, $long = FALSE)

Filter tips callback for time filter.

The tips callback allows filters to provide help text to users during the content editing process. Short tips are provided on the content editing screen, while long tips are provided on a separate linked page. Short tips are optional, but long tips are highly recommended.

Related topics

File

modules/examples/filter_example/filter_example.module, line 187
Module file for filter_example.

Code

function _filter_example_filter_time_tips($filter, $format, $long = FALSE) {
  return t('<em>&lt;time /&gt;</em> is replaced with the current time.');
}