WordPress.org

Codex

Function Reference/ wp post revision fields

Contents

Description

Returns the fields that will be compared when post revisions are diffed.

Usage

 foreach ( _wp_post_revision_fields() as $field => $field_title ) : ... 

Return

Array of key-value pairs where the key is the field slug and the value is the field title.

Changelog

Since: 2.6

Source File

_wp_post_revision_fields() is located in wp-includes/post.php

This page is marked as incomplete. You can help Codex by expanding it.