• Resolved klewis

    (@blackawxs)


    Thank you so much for creating this plugin! I’m doing some tests and found an issue.

    – I create a ACF text field called mpreloadedvalue within a field group.
    – I’m also taking advantage of ACF’s acf/load_value action.

    
    function my_acf_load_dte_modifield_value( $value, $post_id, $field ) {
      $date_modifield=get_the_modified_date( '', $post_id );
      return $date_modifield;//return the value
    }
    add_filter('acf/load_value/name=mpreloadedvalue', 'my_acf_load_dte_modifield_value', 10, 3);
    

    The above steps will allow me to have an ACF field on a post that is pre-filled with the modified date of the associated post.

    With this plugin installed, and text box enabled for searching, it does not search for my date value, even-though you see it when you edit the page.

    Would you happen to have any workarounds on how to search for modified dates of post with this plugin?

    My Specs
    WordPress 5.9
    ACF Pro 5.12
    ACF: Better Search 4.0.1

    • This topic was modified 2 years, 8 months ago by klewis.
    • This topic was modified 2 years, 8 months ago by klewis.
    • This topic was modified 2 years, 8 months ago by klewis.
Viewing 1 replies (of 1 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @blackawxs,

    Thanks for your message.

    Unfortunately, this is not possible. This plugin modifies the SQL query, but the modified content does not exist in the database.

    Best,
    Mateusz

Viewing 1 replies (of 1 total)
  • The topic ‘Does not search when using acf/load_value’ is closed to new replies.