src/Admin/Page.php
Method addPage
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function addPage($pageTitle, $menuTitle, $capability, $slug, $action, $iconUrl = '', $position = null)
Method addSubpage
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function addSubpage($parent, $pageTitle, $menuTitle, $capabilities, $slug, $action)