WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about post_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 2871 /**
* Filters the value of a specific post field for display.
*
* The dynamic portion of the hook name, `$field`, refers to the post
* field name.
*
* @since 2.3.0
*
* @param mixed $value Value of the prefixed post field.
* @param int $post_id Post ID.
* @param string $context Context for how to sanitize the field.
* Accepts 'raw', 'edit', 'db', 'display',
* 'attribute', or 'js'. Default 'display'.
*/

Hook Parameters

Parameter Type Name Description
object $labels Object with labels for the post type as member variables.