• Resolved simea

    (@simea)


    I tried to use this plugin with some ACF I added to Media Attachments. But when I am trying to search for ACF content on /wp-admin/upload.php, it does not find anything.

    What am I doing wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter simea

    (@simea)

    Sorry, have you had the time to read my question yet? ??

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @simea,

    Thanks for your message.

    Sorry for a long time with no reply. Searching in the media library by this plugin is specially disabled because this type of SQL query is quite slow. This is due to the structure of the WordPress database.

    However, you can run it by adding the following code to the functions.php file in your theme directory:

    add_filter( 'acfbs_is_available', function ( $status ) {
    	return true;
    } );

    Best,
    Mateusz

    Thread Starter simea

    (@simea)

    Awesome, that worked, thank you!
    Is it slowing down the search in the backend or does it also affect the frontend?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @simea This only applies to searching for images by name in the WordPress Dashboard.

    Thread Starter simea

    (@simea)

    Alright, perfect. Thank you very much!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Does not search Media Library’ is closed to new replies.