Home Forums General Issues acf/fields/post_object/query



  • I thought I’d resolved this but it’s not really resolved, I could see that it was an issue pre 5.1.4 but it’s either not quiet resolved or it’s returned in 5.1.5 when using the acf/fields/post_object/query hook

    function mft_venue_object_query( $args, $field, $post )
    	echo '<pre>'; print_r($args); echo '</pre>'; wp_die();
    add_filter('acf/fields/post_object/query/key=field_543284469ae88', 'mft_venue_object_queryv', 10, 3);

    the filter above doesn’t print or die in the function and when trying to load Page Links I get “Loading Failed” message!

  • Hi @elliott-richmond,

    This was a bug in the previous version but it has since been fixed in the latest version 5.2.6.

    Updating to the latest version should be able to fix this issue for you.

    You should also remember to set the return value to the function as:

    return $args;

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘acf/fields/post_object/query’ is closed to new replies.