Frontend\Core\Engine\Navigation::setExcludedPageIds PHP Method

setExcludedPageIds() public static method

This function lets you add ignored pages
public static setExcludedPageIds ( mixed $pageIds )
$pageIds mixed This can be a single page id or this can be an array with page ids.
    public static function setExcludedPageIds($pageIds)
    {
        $pageIds = (array) $pageIds;
        // go trough the page ids to add them to the excluded page ids for later usage
        foreach ($pageIds as $pageId) {
            array_push(self::$excludedPageIds, $pageId);
        }
    }