Skip to content

Instantly share code, notes, and snippets.

@zackkatz
Created July 12, 2022 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zackkatz/45f9ae8782de1d47bcb6f06d824f785f to your computer and use it in GitHub Desktop.
Save zackkatz/45f9ae8782de1d47bcb6f06d824f785f to your computer and use it in GitHub Desktop.
GravityView - Reverse the order of Entry Notes
<?php
add_filter( 'gravityview/entry_notes/get_notes', function( $notes ) {
if ( ! $notes ) {
return $notes;
}
return array_reverse( $notes, true );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment