Viewing 1 replies (of 1 total)
  • Plugin Author stepasyuk

    (@stepasyuk)

    Hi @polyfade

    Thank you for your interest in Filter Everything and sorry for the late response.

    You can use function

    /**
     * @return int|null number of posts found
     */
    flrt_posts_found_quantity( $filter_set_id )

    that returns 0 if no posts found by filtered WP_Query. Also you can use function

    /**
     * @return bool true if it is filtered page and false if not
     */ 
    flrt_is_filter_request();

    to check if the current page is filtered request.

    More about these functions you can find here – https://filtereverything.pro/resources/functions/

Viewing 1 replies (of 1 total)
  • The topic ‘Condition to hide if no results’ is closed to new replies.