wp_get_revision_ui_diff

wp_get_revision_ui_diff

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_get_revision_ui_diff') is found 1 times:

  • /wp-admin/includes/revision.php line 163
    	 * @param array[] $return       Array of revision UI fields. Each item is an array of id, name, and diff.
    	 * @param WP_Post $compare_from The revision post to compare from.
    	 * @param WP_Post $compare_to   The revision post to compare to.
    	 */
    	return apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to );
    }
    
    /**
     * Prepare revisions for JavaScript.
     *
     * @since 3.6.0