Skip to main content

With this filter you can adjust the text in the hover of a number-field in the filter (page-builder or widget). For example, it is possible to add the value from the field “append”.

add_filter('at_filter_customfield_label', 'at_set_filter_customfield_label', 11, 2);
function at_set_filter_customfield_label($title, $field_obj) {
	$title .= ' ' . $field_obj['append'];
	
	return $title;
}

Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden


You have a question or an opinion about this post? Share it with us!

Your email address will not be published. Required fields are marked *

*
*