Skip to content

Instantly share code, notes, and snippets.

@hivepress
Created April 26, 2022 17:18
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 hivepress/af3b8385304e4758bd1024d17a098494 to your computer and use it in GitHub Desktop.
Save hivepress/af3b8385304e4758bd1024d17a098494 to your computer and use it in GitHub Desktop.
Change the description field order in the listing edit form #hivepress #listings
<?php
add_filter(
'hivepress/v1/forms/listing_update',
function( $form ) {
$form['fields']['description']['_order'] = 123;
return $form;
},
1000
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment