Is there a way to reorder the selected post objects by alphabetical order while editing the post?
I tried the following code with no effect:
function my_post_object_query( $args, $field, $post )
// modify the order
$args['title'] = 'date';
// filter for a specific field based on it's name
add_filter('acf/fields/post_object/query/name=cursos_tecnicos_presenciais', 'my_post_object_query', 10, 3);
I don’t know if its relevant but the post object i’m trying to sort is being shared between 2 different custom post types via the plugin acf-post2post