APF_NetworkAdmin_ManageOptions::setUp PHP Method

setUp() public method

Sets up pages.
public setUp ( )
    public function setUp()
    {
        // this method automatically gets triggered with the wp_loaded hook.
        /* ( optional ) this can be set via the constructor. For available values, see https://codex.wordpress.org/Roles_and_Capabilities */
        $this->setCapability('read');
        /* ( required ) Set the root page */
        $this->setRootMenuPageBySlug('APF_NetworkAdmin');
        /* ( required ) Add sub-menu items (pages or links) */
        $this->addSubMenuItems(array('title' => __('Manage Options', 'admin-page-framework-loader'), 'page_slug' => $this->sPageSlug, 'screen_icon' => 'link-manager', 'order' => 20));
    }
APF_NetworkAdmin_ManageOptions