post_{$field}

post_{$field}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('post_{$field}') is found 1 times:

  • /wp-includes/post.php line 2975
    			 *                        'attribute', or 'js'. Default 'display'.
    			 */
    			$value = apply_filters( "{$field}", $value, $post_id, $context );
    		} else {
    			$value = apply_filters( "post_{$field}", $value, $post_id, $context );
    		}
    
    		if ( 'attribute' === $context ) {
    			$value = esc_attr( $value );
    		} elseif ( 'js' === $context ) {
    			$value = esc_js( $value );