wp_add_footnotes_to_revision

The timeline below displays how wordpress function wp_add_footnotes_to_revision has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.4

/**
 * Adds the footnotes field to the revisions display.
 *
 * @since 6.3.0
 *
 * @param array $fields The revision fields.
 * @return array The revision fields.
 */
function wp_add_footnotes_to_revision($fields)
{
    $fields['footnotes'] = __('Footnotes');
    return $fields;
}

WordPress Version: 6.3

/**
 * Adds the footnotes field to the revision.
 *
 * @since 6.3.0
 *
 * @param array $fields The revision fields.
 * @return array The revision fields.
 */
function wp_add_footnotes_to_revision($fields)
{
    $fields['footnotes'] = __('Footnotes');
    return $fields;
}