WP_Term::filter

SummerySummery

Sanitizes term fields, according to the filter type provided.

Syntax

WP_Term::filter( string $filter )

ParametersParameters

$filter

(string) (Required) Filter context. Accepts 'edit', 'db', 'display', 'attribute', 'js', 'raw'.

SourceSource

File: wp-includes/class-wp-term.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top