You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XH\Publisher->isHidden() is supposed to return whether a given page is hidden. It does, however, not cater to pages which are hidden by plugins (e.g. by $c[$n] = '#cmsimple hide#';), because the visibility of the pages is cached before the plugins are run. What it basically does right, though, is to treat subpages of hidden pages as hidden.
Contrast that with hide(). This function returns the current visibility; so at least if it's called late, it caters to plugins which hide pages. However, it does not respect subpages of hidden pages.
The text was updated successfully, but these errors were encountered:
XH\Publisher->isHidden() is supposed to return whether a given page is hidden. It does, however, not cater to pages which are hidden by plugins (e.g. by
$c[$n] = '#cmsimple hide#';
), because the visibility of the pages is cached before the plugins are run. What it basically does right, though, is to treat subpages of hidden pages as hidden.Contrast that with
hide()
. This function returns the current visibility; so at least if it's called late, it caters to plugins which hide pages. However, it does not respect subpages of hidden pages.The text was updated successfully, but these errors were encountered: