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

    (@fried_eggz)

    Yes. Check the bottom of the faq

    How can I stop some entries from showing up in the list?

    To filter out entries from the list depending on a value you can use the filter_entries filter. For example; if you want to show only approved entries you could use this code in your functions.php:

    add_filter('filter_entries','show_only_approved' );
    function show_only_approved($entries) {
        foreach ($entries as $entryKey => &$entryValue) {
            if ($entryValue["xxx"] == NULL) {
                unset($entries[$entryKey]);
            }
        }
        return $entries;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Show specific entries only’ is closed to new replies.