From 0809ffe7d39a6b7cf5d4a2280ac2aa2ba29baf14 Mon Sep 17 00:00:00 2001 From: Ricardo Aragon Date: Tue, 23 Aug 2022 10:42:02 -0300 Subject: [PATCH] feat: apply pb_network_catalog for new catalog support --- page-catalog.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/page-catalog.php b/page-catalog.php index 8ad195b..28d5fa2 100644 --- a/page-catalog.php +++ b/page-catalog.php @@ -9,6 +9,11 @@ * @package Aldine */ +if ( has_filter( 'pb_network_catalog' ) ) { + echo apply_filters( 'pb_network_catalog', '' ); + return; +} + use function Aldine\Helpers\get_available_institutions; use function Aldine\Helpers\get_available_licenses; use function Aldine\Helpers\get_available_subjects;