Browse Source

Hide archived, spammed or deleted books from catalog (fixes #106) (#107)

pull/113/head
Dac Chartrand 7 years ago committed by Ned Zimmerman
parent
commit
c5b7a6471e
  1. 5
      inc/helpers/namespace.php

5
inc/helpers/namespace.php

@ -40,7 +40,10 @@ function get_catalog_data( $page = 1, $per_page = 10, $orderby = 'title', $licen
apply_filters(
'pb_publisher_catalog_query_args',
[
'public' => '1',
'public' => 1,
'archived' => 0,
'spam' => 0,
'deleted' => 0,
'network_id' => get_network()->site_id,
]
)

Loading…
Cancel
Save