Support » Plugin: Favorites » Sort favorites by category

Viewing 2 replies - 1 through 2 (of 2 total)
  • Solved it by using the ‘custom_favorites_listing_html’ function that is mentioned in the documentation. https://favoriteposts.com/

    add_filter( 'favorites/list/listing/html', 'custom_favorites_listing_html', 10, 4 );
    function custom_favorites_listing_html($html, $markup_template, $post_id, $list_options)
    {
        return $html;
    }
    Adame

    (@dahmaniadame)

    @neendreams can you please share the code snippet for that? 🙂

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.