WordPress at a glance
filter is not described

(field) filter-hook . WP 2.3.0

Filters the value of a specific post field for display.

The dynamic portion of the hook name, $field, refers to the post field name.


add_filter( '(field)', 'filter_function_name_5733', 10, 3 );
function filter_function_name_5733( $value, $post_id, $context ){
	// filter...

	return $value;
Value of the prefixed post field.
Post ID.
Context for how to sanitize the field. Possible values include 'edit', 'display', 'attribute' and 'js'.

Список изменений

С версии 2.3.0 Введена.

Где вызывается хук

wp-includes/post.php 2502
$value = apply_filters( "{$field}", $value, $post_id, $context );
wp-includes/user.php 1318
$value = apply_filters( "{$field}", $value, $user_id, $context );
wp-includes/bookmark.php 439
$value = apply_filters( "{$field}", $value, $bookmark_id, $context );

Где используется хук в ядре WP

Использование не найдено.