Inventory_Presser_Allow_Inventory_As_Home_Page::hide_page_from_edit_list( WP_Query $query )


Description Description

Prevents the page this plugin creates from showing up in the list of pages while editing in the dashboard. We need a page to exist in order to allow users to choose it as their home page, but we don't want them to see an actual page in the list, because the Inventory listing is not a page, it's a custom post type archive.

Top ↑

Parameters Parameters


(Required) An instance of the WP_Query class

Top ↑

Return Return


Top ↑

Source Source

File: includes/class-allow-inventory-as-home-page.php