{$field_no_prefix}_edit_pre

{$field_no_prefix}_edit_pre

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('{$field_no_prefix}_edit_pre') is found 1 times:

  • /wp-includes/post.php line 2831
    			 *
    			 * @param mixed $value   Value of the post field.
    			 * @param int   $post_id Post ID.
    			 */
    			$value = apply_filters( "{$field_no_prefix}_edit_pre", $value, $post_id );
    		} else {
    			$value = apply_filters( "edit_post_{$field}", $value, $post_id );
    		}
    
    		if ( in_array( $field, $format_to_edit, true ) ) {
    			if ( 'post_content' === $field ) {